session-companion/SessionCompanion/SessionCompanion.Database/SeedData.cs

40 lines
992 B
C#
Raw Normal View History

2020-12-03 17:50:11 +01:00
using Microsoft.EntityFrameworkCore;
using SessionCompanion.Database.Tables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SessionCompanion.Database
{
public class SeedData
{
static public List<User> SeedUsers()
{
List<User> users = new List<User>
{
new User
{
Id = 1,
Username = "Morwiec",
2020-12-03 17:50:11 +01:00
Password = "123"
},
new User
{
Id = 2,
Username = "Cichoklepiec",
2020-12-03 17:50:11 +01:00
Password = "123"
},
new User
{
Id = 3,
Username = "Ruletka",
2020-12-03 17:50:11 +01:00
Password = "123"
}
};
return users;
}
}
}