/// <summary>
 /// deletes the store item.
 /// </summary>
 /// <param name="pictureId"></param>
 /// <param name="storeItemId"></param>
 /// <param name="mId"></param>
 /// <returns></returns>
 public JsonResult DeleteStoreItemPicture(string pictureId, string storeItemId, string mId)
 {
     try
     {
         StoreGateway sg = new StoreGateway();
         bool isSuccess = sg.DeleteStoreItemPhoto(Convert.ToInt32(pictureId), Convert.ToInt32(storeItemId), new Guid(mId));
         return Json(new { result = isSuccess }, JsonRequestBehavior.AllowGet);
     }
     catch (Exception exception)
     {
         ErrorDatabaseManager.AddException(exception, exception.GetType());
     }
     return Json(new { result = false }, JsonRequestBehavior.AllowGet);
 }