コード例 #1
0
ファイル: PawelbyRepository.cs プロジェクト: pawelby/pawelby
 /// <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;
 }
コード例 #2
0
 /// <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;
 }