Exemplo n.º 1
0
        public bool Delete(int id)
        {
            var deleteObject = _shipperDal.GetOne(x => x.id == id);

            if (deleteObject != null)
            {
                bool result = _shipperDal.Delete(deleteObject);
                if (result)
                {
                    return(true);
                }

                return(false);
            }
            return(false);
        }
 public void Delete(Shipper entity, bool realDelete = true)
 {
     _shipperDal.Delete(entity, realDelete);
 }
Exemplo n.º 3
0
 public IResult Delete(Shipper shipper)
 {
     _shipperDal.Delete(shipper);
     return(new SuccessResult(ShipperMessages.Deleted));
 }
Exemplo n.º 4
0
 public void Delete(Shipper shipper)
 {
     _shipperDal.Delete(shipper);
 }
Exemplo n.º 5
0
 public void Delete(Shipper table)
 {
     _shipperDal.Delete(table);
 }