public IActionResult ChangeCategory(string name, string category)
 {
     if (name != null && Categories.Contains(category))
     {
         var material = _materialService.ChangeCategory(name, category);
         if (material != null)
         {
             return(Ok(material));
         }
     }
     return(BadRequest());
 }