public string UploadImage(string reference, long id, HttpPostedFileBase[] file) { var log = new SysLogModel(); var json = BinaryUtilities.UploadImage(file, id); log.Finish(json.Length); return(json); }
public string UploadImage(string reference, long id, ICollection <IFormFile> file) { var log = new SysLogModel(); var json = BinaryUtilities.UploadImage(file, id); log.Finish(json.Length); return(json); }
public string UploadImage(IContext context, string reference, long id, IHttpPostedFile[] file) { var log = new SysLogModel(context: context); var json = BinaryUtilities.UploadImage( context: context, id: id); log.Finish(context: context, responseSize: json.Length); return(json); }