public string DeleteById(int Id) { long userId = base.CurrentUser.Id; IJobsService jobsService = ServiceHelper.Create <IJobsService>(); Result_Msg res = jobsService.DeleteById(Id, userId); return(Newtonsoft.Json.JsonConvert.SerializeObject(res)); }
public string DeleteById(int Id) { long userId = base.CurrentUser.Id; IJobsService jobsService = ServiceHelper.Create <IJobsService>(); Result_Msg res = jobsService.DeleteById(Id, userId); return(Newtonsoft.Json.JsonConvert.SerializeObject(res)); }