コード例 #1
0
        public string Send(string reference, long id)
        {
            var log  = new SysLogModel();
            var json = OutgoingMailUtilities.Send(reference, id);

            log.Finish(json.Length);
            return(json);
        }
コード例 #2
0
        public string Send(IContext context, string reference, long id)
        {
            var log  = new SysLogModel(context: context);
            var json = OutgoingMailUtilities.Send(
                context: context,
                reference: reference,
                id: id);

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