public string Upload(ImgModel model) { string Result = string.Empty; try { Result = CharConversion.SaveImg(model.ImgIp, model.ImgDisk, model.ImgRoot, model.UserAccount, model.ImgAttribute, model.ImgUpLoadDate, model.ImgName, model.ImgString); } catch (Exception ex) { LogHelper.Error(ex.ToString()); } return(Result); }
public void SetConversion(CharConversion conv) => Do(chain => chain.Last.Conversion = conv);