public IActionResult Post([FromBody] Timesheet timesheet) { timesheet.OnCreation(); return(Ok(_timeSheetRepository.InsertTimesheet(timesheet))); }