/// <summary> /// /// </summary> /// <param name="model"></param> /// <returns></returns> public static TimeSheetEmployeeReportModel Update(TimeSheetEmployeeReportModel model) { // int entity var entity = new hr_TimeSheetEmployeeReport(); // fill entity model.FillEntity(ref entity); // update return(new TimeSheetEmployeeReportModel(hr_TimeSheetEmployeeReportServices.Update(entity))); }