예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }