コード例 #1
0
        public IHttpActionResult GetLoginedUser(string email)
        {
            AuthenicationService auth = new AuthenicationService();
            var result = auth.GetUser(email);

            return(Ok(result));
        }
コード例 #2
0
        public IHttpActionResult CheckLogin(User user)
        {
            AuthenicationService auth = new AuthenicationService();
            var result = auth.CheckLogin(user.Email, user.Password);

            return(Ok(result));
        }