Esempio n. 1
0
 /// <summary>
 /// To Insert or Update the bank details of Merchant
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public bool UpdateBankDetails(BankDetailModel model, Int16 isCompleted)
 {
     return contractsRepository.InsUpdateBankDetails(model, isCompleted);
 }
Esempio n. 2
0
 public bool Create(BankDetailModel model)
 {
     return true;
 }
Esempio n. 3
0
 public HttpResponseMessage UpdateBankDetails(BankDetailModel bankDetail, Int16 isCompleted)
 {
     using (ContractTier ct = new ContractTier())
     {
         if (ct.UpdateBankDetails(bankDetail, isCompleted))
         {
             return this.Request.CreateResponse(HttpStatusCode.OK);
         }
         else
         {
             return this.Request.CreateResponse(HttpStatusCode.NotModified);
         }
     }
 }
Esempio n. 4
0
 /// <summary>
 /// To Insert or Update the bank details of Merchant
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public bool InsUpdateBankDetails(BankDetailModel model, Int16 isCompleted)
 {
     return new DataAccess.DataAccess().ExecuteNonQuery("AVZ_CNT_spInsUpdateBankDetails", new { BankDetailId = model.bankDetailId, BankId = model.bankId, AccountName = model.accountName, AccountNumber = model.accountNumber, BankCode = model.bankCode, ContractId = model.contractId, MerchantId = model.merchantId, isCompleted = isCompleted });
 }