public async Task <List <GetCategoryByNameResponseModel> > GetCategoryByName(GetCategoryByNameRequestModel categoryByNameRequestModel) { return((await _inMemoryStorage.GetAll <Category>().ConfigureAwait(false)) ?.Where(c => c.Name == categoryByNameRequestModel.Name) ?.Select(c => new GetCategoryByNameResponseModel { Id = c.Id, Description = c.Description, Name = c.Name, UserId = c.UserId, }) ?.ToList()); }