COA.EnterpriseServices/COA.EnterpriseServices.DataAccess/Helpers/ClientHelper.cs

14 lines
373 B
C#

using COA.EnterpriseServices.DataAccess.Entities;
using System.Collections.Generic;
namespace COA.EnterpriseServices.DataAccess.Helpers
{
public class ClientHelper : BaseHelper<Client>
{
public ICollection<Client> FindByEmail(string email)
{
return DataAccessManager.Invoke(d => d.Get(c => c.Email.Equals(email)));
}
}
}