public string RemoveProduct_Type(int id)
 {
     try
     {
         var item = Product_Types.FirstOrDefault(x => x.Product_TypeID == id);
         Product_Types.Remove(item);
         SaveChanges();
         return("Запись успешно удалена");
     }
     catch (Exception ex) { return(ex.Message); }
 }
 public string EditProduct_Type(int id, string title)
 {
     try
     {
         var item = Product_Types.FirstOrDefault(x => x.Product_TypeID == id);
         if (item != null)
         {
             item.Title = title;
         }
         SaveChanges();
         return("Запись успешно отредактирована");
     }
     catch (Exception ex) { return(ex.Message); }
 }