public async Task <Response <GetCategoryViewModel> > CreateCategory(CreateCategoryViewModel categoryViewModel) { var categoryToAdd = _mapper.Map <Category>(categoryViewModel); var result = await _categoryRepository.AddAync(categoryToAdd); return(new Response <GetCategoryViewModel>(_mapper.Map <GetCategoryViewModel>(result), "Operation Successfully")); }