Example #1
0
 /// <summary>
 /// Constructor of the repository of the project
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="logger">Logger</param>
 public PawelbyRepository(PawelbyContext context, ILogger<PawelbyRepository> logger)
 {
     _context = context;
     _logger = logger;
 }
 /// <summary>
 /// Constructor of the seeding data class
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="userManager">User manager</param>
 public PawelbyContextSeedData(PawelbyContext context, UserManager<PawelbyUser> userManager)
 {
     _context = context;
     _userManager = userManager;
 }