public async Task <CreateTimeEntryResponse> CreateTimeSheetEntry(CreateTimeEntry input) { var timeSheetEntry = Repository.Create(input.UserId, input.EntryDate); timeSheetEntry.Initialize(input.ProjectId, input.ProjectName, input.Hours); await UnitOfWork.Commit(); return(new CreateTimeEntryResponse { TimeEntryId = timeSheetEntry.Id }); }