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 }); }
public IHttpActionResult addReqest(DTO.RequestForLoan l) { System.Diagnostics.Debug.WriteLine(l.comment); return(Ok(BL.reqestBL.addReqest(l))); }