// POST: api/Login //public void Post([FromBody]string value) //public LoginResponse Post([FromBody]string value) public LoginResponse Post(Login login) { LoginPersistance loginPersistance = new LoginPersistance(); if (loginPersistance == null) { throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.NotFound)); } //Signup signup = new Signup(); return(loginPersistance.GetLogin(login)); }