public void AddList() { List <User> list = new List <User>() { new User { UserName = "******" + Math.Round((double)10), Password = "******" }, new User { UserName = "******" + Math.Round((double)10), Password = "******" }, new User { UserName = "******" + Math.Round((double)10), Password = "******" } }; _UserLogic.AddList(list); }