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