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

40 lines
992 B
C#

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",
Password = "123"
},
new User
{
Id = 2,
Username = "Cichoklepiec",
Password = "123"
},
new User
{
Id = 3,
Username = "Ruletka",
Password = "123"
}
};
return users;
}
}
}