Exemplo n.º 1
0
 public HttpResponseMessage GetListCardCreateTicketMonth(string blockCode)
 {
     if (IsBodyNull(blockCode))
     {
         return(ResponseFail(Constants.BODY_NOT_FOUND));
     }
     if (!CheckCode.checkcode(blockCode))
     {
         return(ResponseFail(Constants.CODEERROR));
     }
     try
     {
         var model = new CardViewModel();
         return(ResponseSuccess(model.GetResponseCardCreateTicketMonth(blockCode)));
     }
     catch
     {
         return(ResponseFail(Constants.FAILD));
     }
 }