public async Task <IActionResult> GetAvailableTimesheetId() { Timesheet ts = await _timesheetRepository.GetLastId(); return(Ok(new AvailableId(ts.TimesheetId + 1))); }
public async Task <IActionResult> GetAvailableTimesheetId() { Timesheet ts = await _timesheetRepository.GetLastId(); return(Ok(new AvailableId(ts.TimesheetId + 1))); }