Table of Contents

Class UofxService.BASE.Department

Namespace
Ede.Uofx.PubApi.Sdk.NetStd.Service
Assembly
Ede.Uofx.PubApi.Sdk.NetStd.dll
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

Task<bool>

是否成功建立部門

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

Task<bool>

是否成功移動部門順序與階層

Remove(DepartmentRemoveModel)

刪除部門

public static Task<bool> Remove(DepartmentRemoveModel model)

Parameters

model DepartmentRemoveModel

部門刪除模型

Returns

Task<bool>

是否成功刪除部門

Update(DepartmentUpdateModel)

更新部門資訊

public static Task<bool> Update(DepartmentUpdateModel model)

Parameters

model DepartmentUpdateModel

部門更新模型

Returns

Task<bool>

是否成功更新部門資訊

UpdateState(DepartmentUpdateStatusModel)

更新部門狀態

public static Task<bool> UpdateState(DepartmentUpdateStatusModel model)

Parameters

model DepartmentUpdateStatusModel

部門狀態更新模型

Returns

Task<bool>

是否成功更新部門狀態