Exemplo n.º 1
0
        //Get the details of a particular LoginCredentials
        public LoginCredentials GetCredential(int id)
        {
            LoginCredentials credential = db.LoginCredentials.Find(id);

            return(credential);
        }
Exemplo n.º 2
0
 //To Add new Request LoginCredentials
 public int AddCredential(LoginCredentials credential)
 {
     db.LoginCredentials.Add(credential);
     db.SaveChanges();
     return(1);
 }