示例#1
0
 public JsonResult ChangeStatus(int id, bool status)
 {
     _branchService.ChangeStatus(id, status);
     return(new JsonFactory().Success(status ? MessageConstants.Activate : MessageConstants.Deactivate));
 }
示例#2
0
 public SuccessResponse Put(ChangeStatusRequest request)
 {
     return(_branchService.ChangeStatus(request));
 }