예제 #1
0
 public Result(Exception exception, ILogerServices loger)
 {
     _loger    = loger;
     Exception = exception;
     Message   = exception.Message;
     if (Exception != null)
     {
         _loger.SystemLog(Exception);
     }
 }
예제 #2
0
 public Result(T data, string message, Exception exception, ILogerServices loger)
 {
     _loger    = loger;
     Data      = data;
     Message   = message;
     Exception = exception;
     if (Exception != null)
     {
         _loger.SystemLog(Exception);
     }
 }