public CreateCategoryResponse SaveCategory(CreateCategoryRequest createCategoryRequest) { var category = messageMapper.MapToCategory(createCategoryRequest.Category); categoryRepository.SaveCategory(category); var createbrandresponse = new CreateCategoryResponse { Category = messageMapper.MapToCategoryDto(category) }; return(createbrandresponse); }