//Get the details of a particular LoginCredentials public LoginCredentials GetCredential(int id) { LoginCredentials credential = db.LoginCredentials.Find(id); return(credential); }
//To Add new Request LoginCredentials public int AddCredential(LoginCredentials credential) { db.LoginCredentials.Add(credential); db.SaveChanges(); return(1); }