public IActionResult PostSubcategory([FromBody] SubcategoryDto subcategory)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     try
     {
         _subcategoryService.PostSubcategory(subcategory);
         return(Ok());
     }
     catch (Exception err)
     {
     }
     return(BadRequest());
 }