public FrayteResult DeleteCourier(int courierId) { FrayteResult result = new FrayteResult(); result = new CourierRepository().DeleteCourier(courierId); return(result); }
public List <FrayteCourier> GetCourierList() { List <FrayteCourier> lstCarrier = new List <FrayteCourier>(); lstCarrier = new CourierRepository().GetCourierList(); return(lstCarrier); }
public HttpResponseMessage GetCourierType() { List <FrayteShipmentMethod> lstShipmentMethods = new CourierRepository().GetShipmentMethods("Courier"); return(this.Request.CreateResponse( HttpStatusCode.OK, new { ShipmentMethods = lstShipmentMethods })); }
public List <FrayteCourier> GetUKCourier() { List <FrayteCourier> fc = new CourierRepository().GetUKCourier(); return(fc); }