public WebApiResult <bool> UpdateSystemGroup([FromBody] OapSystemGroup group) { if (group == null) { var result = new WebApiResult <bool>(); result.SetError($"Argument {{group}} is null"); } return(TryCatch <UpdateSystemGroupRequest, bool>(new UpdateSystemGroupRequest(group))); }
public WebApiResult <OapSystemGroup> AddSystemGroup([FromBody] OapSystemGroup list) { return(TryCatch <AddSystemGroupRequest, OapSystemGroup>(new AddSystemGroupRequest(list))); }
public UpdateSystemGroupRequest(OapSystemGroup systemGroup) { SystemGroup = systemGroup; }