Exemple #1
0
 public static DAL.RequestForLoan convertToDal(DTO.RequestForLoan rfl)
 {
     return(new DAL.RequestForLoan
     {
         ProductCode = rfl.ProductCode,
         Comment = rfl.comment,
         RequestCode = rfl.RequestCode,
         RequestDate = rfl.RequestDate,
         UserCode = rfl.UserCode
     });
 }
Exemple #2
0
 public IHttpActionResult addReqest(DTO.RequestForLoan l)
 {
     System.Diagnostics.Debug.WriteLine(l.comment);
     return(Ok(BL.reqestBL.addReqest(l)));
 }