protected string UpdateImage(string image, string updateImage, int maxWidth, int maxHeight) { if (string.IsNullOrEmpty(updateImage)) { return(image); } return(updateImage == "null" ? null : ImageSharpControl.Resize(updateImage, maxWidth, maxHeight)); }
protected string UpdateImage(string updateImage, int maxWidth, int maxHeight) { return(string.IsNullOrEmpty(updateImage) ? null : ImageSharpControl.Resize(updateImage, maxWidth, maxHeight)); }