public async Task <Unit> Handle(CreateRecipeCategoryCommand command, CancellationToken cancellationToken) { var category = new RecipeCategory(command.Name); await _recipeRepository.CreateRecipeCategoryAsync(category); await _unitOfWork.CommitAsync(cancellationToken); return(Unit.Value); }