public void UpdateUser(tbl_users userDetail)
 {
     using (dbContext = new ProjectManagerConnection())
     {
         dbContext.Entry(userDetail).State = EntityState.Modified;
         dbContext.SaveChanges();
     }
 }
 public void AddUser(tbl_users userDetail)
 {
     using (dbContext = new ProjectManagerConnection())
     {
         dbContext.tbl_users.Add(userDetail);
         dbContext.SaveChanges();
     }
 }