public ItemModel Edit(int id, [FromBody] ItemModel model)
 {
     if (model.Image != null)
     {
         var arrData = model.Image.Split(';');
         if (arrData.Length == 3)
         {
             var savePath = $@"{arrData[0]}";
             model.Image = $"{savePath}";
             SaveFileFromBase64String(savePath, arrData[2]);
         }
     }
     _itemBusiness.Edit(id, model);
     return(model);
 }
 public ItemModel Edit(int id, [FromBody] ItemModel model)
 {
     _itemBusiness.Edit(id, model);
     return(model);
 }