Exemplo n.º 1
0
        public string MultiUpload(string reference, long id, HttpPostedFileBase[] file)
        {
            var log  = new SysLogModel();
            var json = BinaryUtilities.MultiUpload(file, id);

            log.Finish(json.Length);
            return(json);
        }
Exemplo n.º 2
0
        public string MultiUpload(string reference, long id, ICollection <IFormFile> file)
        {
            var log  = new SysLogModel();
            var json = BinaryUtilities.MultiUpload(file, id);

            log.Finish(json.Length);
            return(json);
        }
Exemplo n.º 3
0
        public string MultiUpload(IContext context, string reference, long id, IHttpPostedFile[] file)
        {
            var log  = new SysLogModel(context: context);
            var json = BinaryUtilities.MultiUpload(
                context: context,
                id: id);

            log.Finish(context: context, responseSize: json.Length);
            return(json);
        }