using EspaceClient.FrontOffice.Data.Context;
using EspaceClient.FrontOffice.Domaine;
using EspaceClient.FrontOffice.Business.Depots;
using System.Linq;
using System.Collections.Generic;
using EspaceClient.BackOffice.Domaine.Criterias;
using System;
using EspaceClient.BackOffice.Domaine.Results;

namespace EspaceClient.FrontOffice.Data.Depots
{
    public partial class DepotContactDestinataire : Depot<ContactDestinataire>, IDepotContactDestinataire
    {
        public IQueryable<ContactDestinataire> GetContactDestinataireByContactID(long contactID)
        {
            return (from c in DbContext.ContactDestinataires.Where(x => x.ContactID == contactID) select c);
        }

    }
}
