public IHttpActionResult SaveZoneCountryPostCode(FrayteZoneCountryPostCode zonepostcode) { var result = new ZoneCountryPostCodeRepository().AddZoneCountryPostCode(zonepostcode); return(Ok(result)); }
public IHttpActionResult DeleteZoneCountryPostCode(int LogisticZoneCountryPostCodeId) { var result = new ZoneCountryPostCodeRepository().RemoveLogisticZoneCountryPostCodeId(LogisticZoneCountryPostCodeId); return(Ok(result)); }
public List <FrayteZoneCountryPostCode> GetZoneCountryPostCode(int OperationZoneId, string LogisticCompany, string LogisticType, string RateType) { var postcode = new ZoneCountryPostCodeRepository().ZoneCountryPostCode(OperationZoneId, LogisticCompany, LogisticType, RateType); return(postcode); }