예제 #1
0
        //function that communicated with DAL to check the User Credentials
        public UserModel CheckLogin(UserModel usermodel)
        {
            UserRepoLayer obj = new UserRepoLayer();

            return(obj.CheckLogin(usermodel));
        }
예제 #2
0
        //function that communicated with DAL give the list of users
        public List <UserModel> getAllUsers(int id, string searchvalue)
        {
            UserRepoLayer obj = new UserRepoLayer();

            return(obj.getAllUsers(id, searchvalue));
        }
예제 #3
0
        //function that communicated with DAL to add new user
        public bool Signup(UserModel userObj)
        {
            UserRepoLayer obj = new UserRepoLayer();

            return(obj.Signup(userObj));
        }