public IActionResult Update([FromForm] CategoryUpsert categoryUpsert)
 {
     return(Ok(new CategoryViewModel(_db, _hostEnvironment).Update(categoryUpsert)));
 }
 public IActionResult Insert([FromForm] CategoryUpsert categoryUpsert)
 {
     return(CreatedAtAction("PostCategory", new CategoryViewModel(_db, _hostEnvironment).Insert(categoryUpsert)));
 }