public static BaseResponse GetBaseResponse(BusinessStatusType code, string message) { return(new BaseResponse(code, message)); }
public static BaseResponse GetBaseResponse(BusinessStatusType code) { return(new BaseResponse(code)); }
public BaseResponse(BusinessStatusType code) { Code = (int)code; Message = EnumHelper.GetEnumDescription(code); }
public BaseResponse(BusinessStatusType code, string message) { Code = (int)code; Message = message; }
public static BaseResponse GetBaseResponse(BusinessStatusType code, object data) { return(new BaseResponse((int)code, EnumHelper.GetEnumDescription(code), data)); }