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,
|
2020-12-13 19:27:28 +01:00
|
|
|
|
Username = "Morwiec",
|
2020-12-03 17:50:11 +01:00
|
|
|
|
Password = "123"
|
|
|
|
|
},
|
|
|
|
|
new User
|
|
|
|
|
{
|
|
|
|
|
Id = 2,
|
2020-12-13 19:27:28 +01:00
|
|
|
|
Username = "Cichoklepiec",
|
2020-12-03 17:50:11 +01:00
|
|
|
|
Password = "123"
|
|
|
|
|
},
|
|
|
|
|
new User
|
|
|
|
|
{
|
|
|
|
|
Id = 3,
|
2020-12-13 19:27:28 +01:00
|
|
|
|
Username = "Ruletka",
|
2020-12-03 17:50:11 +01:00
|
|
|
|
Password = "123"
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return users;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|