public IResponseDTO Update([FromBody] SubCategoryDto model) { var result = ServicesSubCategory.Update(model); return(result); }
public ActionResult Put(int id, [FromBody] SubCategory SubCategory) { SubCategory.Id = id; _SubCategories.Update(SubCategory); return(Ok()); }