Exemple #1
0
        public DataEntryController(
            IMapper mapper,
            UserManager <ApplicationUser> userManager,
            IDataEntryRepository dataentryRepository,
            IUnitOfWork unitOfWork,
            IAuthService authService

            )
        {
            _mapper              = mapper;
            _userManager         = userManager;
            _dataentryRepository = dataentryRepository;
            _unitOfWork          = unitOfWork;
            _authService         = authService;
        }
Exemple #2
0
 public DataEntryController(IDataEntryRepository dataEntryRepository)
 {
     _context = dataEntryRepository;
 }