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