public ActionResult ChangeImageLocation(ImageLocationModel model) { if (!_imageService.ChangeImageLocation(model)) { return(Error("Images does not exist", $"There are no images with workorderID: {model.WorkOrderId}. images == null")); } return(Success()); }