public void DeleteSpecialRole() { using(UsersDataAccess usersDataAccess = new UsersDataAccess()) { usersDataAccess.DeleteSpecialRole(); } }
public int userLogin(User user) { int loginState = 0; using(UsersDataAccess usersDataAccess = new UsersDataAccess()) { loginState = usersDataAccess.userLogin(user); } return loginState; }