Esempio n. 1
0
 public MessageController(IMessageRepository messageRepository, UserManager <ApplicationUser> userManager, IDavaRepository davaRepository, IMapper mapper)
 {
     _messageRepository = messageRepository;
     _userManager       = userManager;
     _davaRepository    = davaRepository;
     _mapper            = mapper;
 }
 public DocumentController(IDocumentRepository documentRepository, UserManager <ApplicationUser> userManager, IDavaRepository davaRepository, IMapper mapper)
 {
     _documentRepository = documentRepository;
     _userManager        = userManager;
     _davaRepository     = davaRepository;
     _mapper             = mapper;
 }
 public DavaController(IDavaRepository davaRepository, UserManager <ApplicationUser> userManager,
                       IMapper mapper, IDavaStateRepository davaStateRepository)
 {
     _davaRepository      = davaRepository;
     _userManager         = userManager;
     _mapper              = mapper;
     _davaStateRepository = davaStateRepository;
 }
Esempio n. 4
0
 public MasrafController(IMapper mapper, IMasrafRepository masrafRepository,
                         IDavaRepository davaRepository, UserManager <ApplicationUser> userManager)
 {
     _davaRepository   = davaRepository;
     _masrafRepository = masrafRepository;
     _mapper           = mapper;
     _userManager      = userManager;
 }
Esempio n. 5
0
 public ReportController(
     IDavaRepository davaRepository,
     IDocumentRepository documentRepository,
     IMessageRepository messageRepository,
     IMasrafRepository masrafRepository,
     IMapper mapper
     )
 {
     _davaRepository     = davaRepository;
     _documentRepository = documentRepository;
     _masrafRepository   = masrafRepository;
     _messageRepository  = messageRepository;
     _mapper             = mapper;
 }
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IConfiguration configuration,
     IPasswordHasher <ApplicationUser> passwordHasher,
     IPasswordValidator <ApplicationUser> passwordValidator,
     IMapper mapper, ICompanyRepository companyRepository, IDavaRepository davaRepository,
     RoleManager <IdentityRole> roleManager
     )
 {
     _userManager       = userManager;
     _singInManager     = signInManager;
     _configuration     = configuration;
     _passwordHasher    = passwordHasher;
     _passwordValidator = passwordValidator;
     _mapper            = mapper;
     _companyRepository = companyRepository;
     _davaRepository    = davaRepository;
     _roleManager       = roleManager;
 }