public async Task <ActionResult <IEnumerable <TimesheetViewModel> > > PostTimesheetConditions(int month, int year, Guid userId) { try { await Task.Run(() => { _timesheetService.AddRange(month + 1, year, userId); _timesheetService.SaveChanges(); return(Ok("Thêm thành công!")); }); } catch { throw new Exception(string.Format("Lỗi khi thêm dữ liệu")); } return(Ok()); }