public ResponseObject <bool> SetMonitorTimeTask(ITSupporterSetMonitorTimeTaskAPIViewModel model) { var iTSupporterService = this.Service <IITSupporterService>(); var result = iTSupporterService.SetMonitorTimeTask(model); return(result); }
public HttpResponseMessage SetMonitorTimeTask(ITSupporterSetMonitorTimeTaskAPIViewModel model) { var result = _ITSupporterDomain.SetMonitorTimeTask(model); return(Request.CreateResponse(HttpStatusCode.OK, result)); }