//GetByIdAsync method public async Task <Shift> GetByIdAsync(int id) { return(await _shiftRepository.FindByIdAsync(id)); }