Catcher.Lib.Implement.UserDAL.GetAllUsers C# (CSharp) Method

GetAllUsers() public method

public GetAllUsers ( ) : IList
return IList
        public IList<UserInfo> GetAllUsers()
        {
            using (DB db = new DB())
            {
                return db.UserInfoes.ToList();
            }
        }