Ejemplo n.º 1
0
 public ActionResult PostPaid(PostPaidModel postObj)
 {
     try
     {
         PaymentBLL bllObj = new PaymentBLL();
         int?       Result = bllObj.PostPaid(postObj);
     }
     catch (Exception ex)
     {
         logger.Info(ex.Message);
         logger.Debug(ex.Message);
     }
     return(View());
 }
        public int?PostPaid(PostPaidModel postobj)
        {
            HttpResponseMessage message = new HttpResponseMessage();
            PaymentBLL          bllobj  = new PaymentBLL();
            int?Result = bllobj.PostPaid(postobj);

            if (Result > 0)
            {
                message.Content = new StringContent("LOGIN SUCCESS");
            }
            else
            {
                message.Content = new StringContent("LOGIN FAIL");
            }
            return(Result);
        }