示例#1
0
 public AdminController(UserManager <ApplicationUser> _userManager, SignInManager <ApplicationUser> _signInManager, IDuyuruRepository duyrepo, RoleManager <IdentityRole> _roleManager, IYorumRepository _YorumRepository)
 {
     userManager     = _userManager;
     signInManager   = _signInManager;
     repository      = duyrepo;
     roleManager     = _roleManager;
     YorumRepository = _YorumRepository;
 }
示例#2
0
 public OrtakDomain(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _kullaniciRep = serviceProvider.GetService <IKullaniciRepository>();
     _duyuruRep    = serviceProvider.GetService <IDuyuruRepository>();
     _uow          = serviceProvider.GetService <IDatabaseUnitOfWork>();
 }
示例#3
0
 public HomeController(IDuyuruRepository duyrepo, IYorumRepository _yorumRepository)
 {
     repository      = duyrepo;
     yorumRepository = _yorumRepository;
 }