/// <summary>Fetches 'Territory' entities matching the request formatted specifically for the datatables.net jquery plugin.</summary>
        public DataTableResponse Post(TerritoryDataTableRequest request)
        {
            OnBeforePostTerritoryDataTableRequest(request);
            var output = Repository.GetDataTableResponse(request);

            OnAfterPostTerritoryDataTableRequest(request, output);
            return(output);
        }
 partial void OnAfterPostTerritoryDataTableRequest(TerritoryDataTableRequest request, DataTableResponse response);
 partial void OnBeforePostTerritoryDataTableRequest(TerritoryDataTableRequest request);