public GetAllTerritoryResponse GetAllTerritories()
        {
            GetAllTerritoryResponse response = new GetAllTerritoryResponse();

            IEnumerable <Territory> territories = _territoryRepository
                                                  .FindAll();

            if (territories != null)
            {
                response.TerritoryFound = true;
                response.Territories    = territories.ConvertToTerritoryViews();
            }
            else
            {
                response.TerritoryFound = false;
            }


            return(response);
        }