示例#1
0
        public bool Add(Shipper shipper)
        {
            bool result = _shipperDal.Add(shipper);

            if (result)
            {
                return(true);
            }

            return(false);
        }
 public void Add(Shipper entity)
 {
     _shipperDal.Add(entity);
 }
示例#3
0
 public IResult Add(Shipper shipper)
 {
     _shipperDal.Add(shipper);
     return(new SuccessResult(ShipperMessages.Added));
 }
示例#4
0
 public Shipper Add(Shipper shipper)
 {
     return(_shipperDal.Add(shipper));
 }