public IResult Add(Territory territory) { //HandleException.AttributeException(() => ValidationTool.Validate(new TerritoryValidator(), territory)); //HandleException.ClassException(() => _territoryDal.Add(territory)); _territoryDal.Add(territory); return(new SuccessResult(TerritoryMessages.Added)); }
public void Add(Territory entity) { _territoryDal.Add(entity); }