Class UofxService.BASE.Department
public static class UofxService.BASE.Department
- Inheritance
-
UofxService.BASE.Department
- Inherited Members
Methods
Create(DepartmentCreateModel)
建立部門
public static Task<bool> Create(DepartmentCreateModel model)
Parameters
model
DepartmentCreateModel部門建立模型
Returns
Get(DepartmentGetModel)
取得部門清單
public static Task<IEnumerable<DepartmentViewModel>> Get(DepartmentGetModel model)
Parameters
model
DepartmentGetModel部門取得模型
Returns
- Task<IEnumerable<DepartmentViewModel>>
部門清單
GetEmployee(DepartmentGetEmployeeModel)
取得部門成員
public static Task<IEnumerable<EmployeeInfoModel>> GetEmployee(DepartmentGetEmployeeModel model)
Parameters
model
DepartmentGetEmployeeModel部門成員取得模型
Returns
- Task<IEnumerable<EmployeeInfoModel>>
部門成員清單
Move(DepartmentMoveModel)
移動部門順序與階層
public static Task<bool> Move(DepartmentMoveModel model)
Parameters
model
DepartmentMoveModel部門移動模型
Returns
Remove(DepartmentRemoveModel)
刪除部門
public static Task<bool> Remove(DepartmentRemoveModel model)
Parameters
model
DepartmentRemoveModel部門刪除模型
Returns
Update(DepartmentUpdateModel)
更新部門資訊
public static Task<bool> Update(DepartmentUpdateModel model)
Parameters
model
DepartmentUpdateModel部門更新模型
Returns
UpdateState(DepartmentUpdateStatusModel)
更新部門狀態
public static Task<bool> UpdateState(DepartmentUpdateStatusModel model)
Parameters
model
DepartmentUpdateStatusModel部門狀態更新模型