예제 #1
0
 public static BaseResponse GetBaseResponse(BusinessStatusType code, string message)
 {
     return(new BaseResponse(code, message));
 }
예제 #2
0
 public static BaseResponse GetBaseResponse(BusinessStatusType code)
 {
     return(new BaseResponse(code));
 }
예제 #3
0
 public BaseResponse(BusinessStatusType code)
 {
     Code    = (int)code;
     Message = EnumHelper.GetEnumDescription(code);
 }
예제 #4
0
 public BaseResponse(BusinessStatusType code, string message)
 {
     Code    = (int)code;
     Message = message;
 }
예제 #5
0
 public static BaseResponse GetBaseResponse(BusinessStatusType code, object data)
 {
     return(new BaseResponse((int)code, EnumHelper.GetEnumDescription(code), data));
 }