public async Task <IActionResult> Add([FromBody] CategoryData categoryData)
        {
            if (ModelState.IsValid)
            {
                Category category = categoryData.Category;
                category.CreatedAt = DateTime.Now;
                category.UpdateAt  = DateTime.Now;

                _catgoryRepo.AddCatagory(category);
                await _catgoryRepo.SaveAll();

                return(Ok(category));
            }

            return(BadRequest(ModelState));
        }