public IHttpActionResult Post([FromBody] Users Users) { try { SessionDomain.UpdateSession(); return(Ok(usersDomain.Post(Users))); } catch (Exception ex) { return(Exceptions(ex)); } }
public IHttpActionResult Login(string Email, string Password) { try { SessionDomain.UpdateSession(); return(Ok(usersDomain.Login(Email, Password))); } catch (Exception ex) { return(Exceptions(ex)); } }