Add project files.
This commit is contained in:
9
ConsoleApp1/Program.cs
Normal file
9
ConsoleApp1/Program.cs
Normal file
@ -0,0 +1,9 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using OemanTrader.Domain.Models;
|
||||
using OemanTrader.Domain.Services;
|
||||
using OemanTrader.EntityFramework;
|
||||
using OemanTrader.EntityFramework.Services;
|
||||
|
||||
IDataService<User> userService = new GenericDataService<User>(new OemanTraderDbContextFactory());
|
||||
userService.Create(new User { UserName = "Test" }).Wait();
|
||||
Reference in New Issue
Block a user