Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public OrtakDomain(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _kullaniciRep = serviceProvider.GetService <IKullaniciRepository>();
     _duyuruRep    = serviceProvider.GetService <IDuyuruRepository>();
     _uow          = serviceProvider.GetService <IDatabaseUnitOfWork>();
 }
Exemplo n.º 3
0
 public HomeController(IDuyuruRepository duyrepo, IYorumRepository _yorumRepository)
 {
     repository      = duyrepo;
     yorumRepository = _yorumRepository;
 }