public void Normalize()
 {
     if (TermConditionJson == null)
     {
         TermConditionJson = new VoucherSettings();
     }
 }
Beispiel #2
0
 public HttpResponseMessage Save([FromBody] VoucherSettings Settings)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, Settings.Save()));
 }
Beispiel #3
0
 public HttpResponseMessage GetTable([FromBody] int CompanyID, [FromUri] int VoucherType, [FromUri] int isGroup)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, VoucherSettings.GetVoucherSetingsTable(CompanyID, VoucherType, isGroup)));
 }