public CLAIM AuthenticateUser(string email, string password) { CLAIM customer = CLAIMDAL.GetClaim(email); if (customer.EMAIL == email && customer.PASSWORD == password) { return(customer); } else { return(null); } }
// GET: api/Claim/5 public CLAIM Get([FromUri] string email) { return(CLAIMDAL.GetClaim(email)); }