public async Task AddAsync(Shipper entity) { var cancelToken = new CancellationTokenSource(); await _shipperDal.AddAsync(entity, cancelToken.Token); }
public IResult AddAsync(Shipper shipper) { _shipperDal.AddAsync(shipper); return(new SuccessResult(ShipperMessages.Added)); }