public ActionResult UpdateMasterPriceInfo(MasterPriceInfo model) { _ICountry.Admin_MasterPriceInfoUpdate(userEntity.MasterCountryId, model); Response.Redirect("ManageMasterPriceInfo"); return(View(model)); }
public void Admin_MasterPriceInfoUpdate(int countryId, MasterPriceInfo dto) { try { _dataAccessCountry.Admin_MasterPriceInfoUpdate(countryId, dto); } catch (Exception e) { throw e; } }
public void Admin_MasterPriceInfoUpdate(int countryId, MasterPriceInfo dto) { try { _businessCountry.Admin_MasterPriceInfoUpdate(countryId, dto); } catch (Exception ex) { throw ex; } }
public ActionResult UpdateMasterPriceInfo(int masterPriceInfoId) { MasterPriceInfo model = new MasterPriceInfo(); if (masterPriceInfoId > 0) { var data = _ICountry.Admin_GetMasterPriceInfo(userEntity.MasterCountryId) .FirstOrDefault(x => x.MasterPriceInfoId == masterPriceInfoId); model = data; } return(View(model)); }
public void Admin_MasterPriceInfoUpdate(int countryId, MasterPriceInfo dto) { try { SqlHelper.countryId = countryId; SqlHelper.QuerySP("Admin_MasterPriceInfoUpdate", new { MasterPriceInfoId = dto.MasterPriceInfoId, PriveLevel = dto.PriveLevel, Food = dto.Food, Stay = dto.Stay }); } catch (Exception ex) { throw ex; } }