Beispiel #1
0
 protected APIBaseResponse BuildAPIErrorResponse(string responseCode)
 {
     return(new APIBaseResponse(false, responseCode, MsgResourceBuilder.GetMessageResource(responseCode)));
 }
Beispiel #2
0
 protected APIBaseResponse BuildAPIErrorResponse(string responseCode, object[] parameters)
 {
     return(new APIBaseResponse(false, responseCode, string.Format(MsgResourceBuilder.GetMessageResource(responseCode), parameters)));
 }
 public string GetMessage(string resourceID)
 {
     return(MsgResourceBuilder.GetMessageResource(resourceID));
 }