public IHttpActionResult GetUser(int id) { var loginModel = db.PR_GetUser(id).FirstOrDefault(); if (loginModel == null) { return(NotFound()); } return(Ok(loginModel)); }
public IHttpActionResult GetUser(int id) { var loginModel = db.PR_GetUser(id).FirstOrDefault(); if (loginModel == null) { return(NotFound()); } return(Ok(loginModel)); }