public IHttpActionResult GetLoginedUser(string email) { AuthenicationService auth = new AuthenicationService(); var result = auth.GetUser(email); return(Ok(result)); }
public IHttpActionResult CheckLogin(User user) { AuthenicationService auth = new AuthenicationService(); var result = auth.CheckLogin(user.Email, user.Password); return(Ok(result)); }