public HttpResponseMessage addLibrary([FromBody] Librariespayments addPayment)
 {
     try
     {
         return(Request.CreateResponse(HttpStatusCode.OK, BLPayment.addLibraryPayment(addPayment)));
     }
     catch (Exception ex)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex));
     }
 }
Esempio n. 2
0
 public static bool addLibraryPayment(Librariespayments payment)
 {
     return(DalPayment.addLibraryPayment(payment));
 }