// GET: api/ApiShippers
 public List <ShipperDTOs> GetShipper(DateTime?StartDate, DateTime?EndDate, string Buyer)
 {
     return(MapperConfig.mapper.Map <List <ShipperDTOs> >(_SVC.LookupShipper(new ShipperQueryViewModel()
     {
         TradeDate_S = StartDate,
         TradeDate_E = EndDate,
         Buyer = Buyer
     })));
 }
Exemplo n.º 2
0
 public ActionResult Grid(ShipperQueryViewModel filter)
 {
     return(PartialView(_Service.LookupShipper(filter).ToList()));
 }