Esempio n. 1
0
        public FrayteResult DeleteCourier(int courierId)
        {
            FrayteResult result = new FrayteResult();

            result = new CourierRepository().DeleteCourier(courierId);

            return(result);
        }
Esempio n. 2
0
        public List <FrayteCourier> GetCourierList()
        {
            List <FrayteCourier> lstCarrier = new List <FrayteCourier>();

            lstCarrier = new CourierRepository().GetCourierList();

            return(lstCarrier);
        }
Esempio n. 3
0
        public HttpResponseMessage GetCourierType()
        {
            List <FrayteShipmentMethod> lstShipmentMethods = new CourierRepository().GetShipmentMethods("Courier");

            return(this.Request.CreateResponse(
                       HttpStatusCode.OK,
                       new
            {
                ShipmentMethods = lstShipmentMethods
            }));
        }
Esempio n. 4
0
        public List <FrayteCourier> GetUKCourier()
        {
            List <FrayteCourier> fc = new CourierRepository().GetUKCourier();

            return(fc);
        }