Exemplo n.º 1
0
 public EventMapController(IRepositoryBase<ipmevent> events,
     IRepositoryBase<placeinmap> places,
     IRepositoryBase<coordinate> coords,
     IRepositoryBase<styleurl> styles,
     IRepositoryBase<sitetype> types,
     IRepositoryBase<sitesize> sizes,
     IRepositoryBase<service> services,
     IRepositoryBase<sitetype_service_rate_view> typeRates,
     IRepositoryBase<reservationitem> reservations,
     IRepositoryBase<siterate> rates,
     IRepositoryBase<rvsite_status_view> status,
     IRepositoryBase<customer_view> customers,
     IRepositoryBase<session> sessions)
 {
     this.events = events;
     this.places = places;
     this.coords = coords;
     this.styles = styles;
     this.types = types;
     this.sizes = sizes;
     this.services = services;
     this.typeRates = typeRates;
     this.reservations = reservations;
     this.rates = rates;
     this.status = status;
     this.customers = customers;
     this.sessions = sessions;
 }
Exemplo n.º 2
0
 public ReservationController(
     IRepositoryBase<customer_view> customers,
     IRepositoryBase<ipmevent> ipmevents,
     IRepositoryBase<placeinmap> placesinmap,
     IRepositoryBase<rvsite_available_view> rvsites_available,
     IRepositoryBase<selecteditem> selecteditems,
     IRepositoryBase<reservationitem> reservationitems,
     IRepositoryBase<payment> payments,
     IRepositoryBase<paymentreservationitem> paymentsreservationitems,
     IRepositoryBase<session> sessions,
     IRepositoryBase<site_description_rate_view> sites_description_rate
     )
 {
     this.customers = customers;
     this.ipmevents = ipmevents;
     this.payments = payments;
     this.paymentsreservationitems = paymentsreservationitems;
     this.placesinmap = placesinmap;
     this.selecteditems = selecteditems;
     this.reservationitems = reservationitems;
     this.rvsites_available = rvsites_available;
     this.sites_description_rate = sites_description_rate;
     this.sessions = sessions;
     sessionService = new SessionService(
         this.sessions,
         this.customers
         );
     paymentService = new PaymentService(
         this.selecteditems,
         this.reservationitems,
         this.payments,
         this.paymentsreservationitems
         );
 }
Exemplo n.º 3
0
 public OrdersController(IRepositoryBase<Order> orders, IRepositoryBase<OrderItem> orderItems, IRepositoryBase<Customer> customers, IRepositoryBase<Product> products)
 {
     this.orders = orders;
     this.orderItems = orderItems;
     this.customers = customers;
     this.products = products;
 }
Exemplo n.º 4
0
 public AdminController(IRepositoryBase<Customer> customers, IRepositoryBase<Product> products,IRepositoryBase<VoucherType> voucherTypes, IRepositoryBase<Voucher> vouchers)
 {
     this.customers = customers;
     this.products = products;
     this.vouchers = vouchers;
     this.voucherTypes = voucherTypes;
 }
Exemplo n.º 5
0
 public PaymentController(IRepositoryBase<payment> payments,
     IRepositoryBase<customer_view> customers,
     IRepositoryBase<staff_view> users,
     IRepositoryBase<reasonforpayment> reasonsforpayment,
     IRepositoryBase<paymentmethod> paymentmethods,
     IRepositoryBase<selecteditem> selecteditems,
     IRepositoryBase<reservationitem> reservationitems,
     IRepositoryBase<paymentreservationitem> paymentsreservationitems,
     IRepositoryBase<payment_view> payments_view,
 IRepositoryBase<session> sessions
     )
 {
     this.sessions = sessions;
     this.payments = payments;
     this.customers = customers;
     this.users = users;
     this.reasonsforpayment = reasonsforpayment;
     this.paymentmethods = paymentmethods;
     this.selecteditems = selecteditems;
     this.reservationitems = reservationitems;
     this.paymentsreservationitems = paymentsreservationitems;
     this.payments_view = payments_view;
     sessionService = new SessionService(
         this.sessions,
         this.customers,
         this.users
         );
     paymentService = new PaymentService(
         this.selecteditems,
         this.reservationitems,
         this.payments,
         this.paymentsreservationitems
         );
 }//end Constructor
Exemplo n.º 6
0
 public BasketService(IRepositoryBase<Basket> baskets, IRepositoryBase<Voucher> vouchers, IRepositoryBase<BasketVoucher> basketVouchers, IRepositoryBase<VoucherType> voucherTypes)
 {
     this.baskets = baskets;
     this.vouchers = vouchers;
     this.basketVouchers = basketVouchers;
     this.voucherTypes = voucherTypes;
 }
Exemplo n.º 7
0
 public SessionService(
     IRepositoryBase<session> sessions,
     IRepositoryBase<customer_view> customers
     )
 {
     this.sessions = sessions;
     this.customers = customers;
 }
Exemplo n.º 8
0
 public ProvinceController(IRepositoryBase<province_view> provinces_view,
     IRepositoryBase<provincecode> provincecodes,
     IRepositoryBase<countrycode> countrycodes)
 {
     this.provinces_view = provinces_view;
     this.provincecodes = provincecodes;
     this.countrycodes = countrycodes;
 }
Exemplo n.º 9
0
 public StaffController(IRepositoryBase<staff_view> staffs_view, 
     IRepositoryBase<staff> staffs,
     IRepositoryBase<person> persons)
 {
     this.staffs_view = staffs_view;
     this.staffs = staffs;
     this.persons = persons;
 }
Exemplo n.º 10
0
 public ProductsController(IRepositoryBase<Customer> customers, IRepositoryBase<Product> products, IRepositoryBase<Basket> baskets, IRepositoryBase<BasketItem> basketitems)
 {
     this.customers = customers;
     this.products = products;
     this.baskets = baskets;
     this.basketitems = basketitems;
     basketService = new BasketService(this.baskets, this.basketitems);
 }
 public PartyMemberController(IRepositoryBase<partymember_view> partymembers_view, 
         IRepositoryBase<person> persons,
         IRepositoryBase<partymember> partymembers)
 {
     this.partymembers_view = partymembers_view;
     this.partymembers = partymembers;
     this.persons1 = persons;
 }//end Constructor
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the FeaturedEntityService class.
 /// </summary>
 public FeaturedEntityService(
         IUserRepository userRepository,
         IRepositoryBase<FeaturedCommunities> featuredCommunitiesRepository,
         IRepositoryBase<FeaturedContents> featuredContentsRepository)
 {
     this._userRepository = userRepository;
     this._featuredCommunitiesRepository = featuredCommunitiesRepository;
     this._featuredContentsRepository = featuredContentsRepository;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the ReportEntityService class.
 /// </summary>
 /// <param name="offensiveContentRepository">Instance of offensiveContent repository</param>
 /// <param name="offensiveCommunitiesRepository">Instance of offensiveCommunities repository</param>
 public ReportEntityService(
     IRepositoryBase<OffensiveContent> offensiveContentRepository,
     IRepositoryBase<OffensiveCommunities> offensiveCommunitiesRepository,
     IUserRepository userRepository)
 {
     this._offensiveCommunitiesRepository = offensiveCommunitiesRepository;
     this._offensiveContentRepository = offensiveContentRepository;
     this._userRepository = userRepository;
 }
Exemplo n.º 14
0
        public HomeController(IRepositoryBase<Customer> customers, IRepositoryBase<Product> products, IRepositoryBase<Basket> baskets, IRepositoryBase<Voucher> vouchers, IRepositoryBase<BasketVoucher> basketVouchers, IRepositoryBase<VoucherType> voucherTypes)
        {
            this.customers = customers;
            this.products = products;
            this.baskets = baskets;
            this.vouchers = vouchers;
            this.basketVouchers = basketVouchers;
            this.voucherTypes = voucherTypes;

            basketService = new BasketService(this.baskets, this.vouchers, this.basketVouchers, this.voucherTypes);
        }
Exemplo n.º 15
0
 public PaymentService(
     IRepositoryBase<selecteditem> selecteditems,
     IRepositoryBase<reservationitem> reservationitems,
     IRepositoryBase<payment> payments,
     IRepositoryBase<paymentreservationitem> paymentsreservationitems
     )
 {
     this.selecteditems = selecteditems;
     this.reservationitems = reservationitems;
     this.payments = payments;
     this.paymentsreservationitems = paymentsreservationitems;
 }
Exemplo n.º 16
0
        public HomeController(IRepositoryBase<Customer> customers, IRepositoryBase<Product> products, IRepositoryBase<Basket> baskets, IRepositoryBase<Voucher> vouchers, IRepositoryBase<BasketVoucher> basketVouchers, IRepositoryBase<VoucherType> voucherTypes)
        {
            this.customers = customers;
            this.products = products;
            this.baskets = baskets;
            this.vouchers = vouchers;
            this.basketVouchers = basketVouchers;
            this.voucherTypes = voucherTypes;
            this.kwRepository = new KeywordRepository(new DataContext());
            this.catRepository = new CategoryRepository(new DataContext());

            basketService = new BasketService(this.baskets, this.vouchers, this.basketVouchers, this.voucherTypes);
        }
 /// <summary>
 /// Initializes a new instance of the ContentService class.
 /// </summary>
 /// <param name="contentRepository">Instance of content repository</param>
 /// <param name="blobDataRepository">Instance of Blob data repository</param>
 /// <param name="tagRepository">Instance of tagRepository</param>
 /// <param name="communityRepository">Instance of community repository</param>
 /// <param name="userRepository">Instance of User repository</param>
 public ContentService(
     IContentRepository contentRepository,
     IBlobDataRepository blobDataRepository,
     IRepositoryBase<Tag> tagRepository,
     ICommunityRepository communityRepository,
     IUserRepository userRepository,
     IRepositoryBase<OffensiveContent> offensiveContentRepository)
     : base(communityRepository, userRepository)
 {
     this._contentRepository = contentRepository;
     this._blobDataRepository = blobDataRepository;
     this._tagRepository = tagRepository;
     this._communityRepository = communityRepository;
     this._userRepository = userRepository;
     this._offensiveContentRepository = offensiveContentRepository;
 }
Exemplo n.º 18
0
        public HomeController(IRepositoryBase<Customer> customers, 
            IRepositoryBase<Dupling> duplings,
            IRepositoryBase<Basket> baskets, 
            IRepositoryBase<Voucher> vouchers, 
            IRepositoryBase<BasketVoucher> basketVouchers, 
            IRepositoryBase<VoucherType> voucherTypes)
        {
            this.customers = customers;
            this.duplings = duplings;
            this.baskets = baskets;
            this.vouchers = vouchers;
            this.basketVouchers = basketVouchers;
            this.voucherTypes = voucherTypes;

            basketService = new BasketService(this.baskets, this.vouchers, this.basketVouchers, this.voucherTypes);
        }
Exemplo n.º 19
0
 public LoginController(
     IRepositoryBase<staff_view> users,
     IRepositoryBase<customer_view> customers,
     IRepositoryBase<ipmevent> ipmevents,
     IRepositoryBase<placeinmap> placesinmap,
     IRepositoryBase<coordinate> coordinates,
     IRepositoryBase<sitetype> sitetypes,
     IRepositoryBase<siterate> siterates,
     IRepositoryBase<styleurl> stylesurl,
     IRepositoryBase<rvsite_available_view> rvsites_available,
     IRepositoryBase<selecteditem> selecteditems,
     IRepositoryBase<reservationitem> reservationitems,
     IRepositoryBase<payment> payments,
     IRepositoryBase<person> persons,
     IRepositoryBase<paymentreservationitem> paymentsreservationitems,
     IRepositoryBase<session> sessions,
     IRepositoryBase<site_description_rate_view> sites_description_rate
     )
 {
     this.users = users;
     this.customers = customers;
     this.ipmevents = ipmevents;
     this.payments = payments;
     this.persons = persons;
     this.paymentsreservationitems = paymentsreservationitems;
     this.placesinmap = placesinmap;
     this.coordinates = coordinates;
     this.sitetypes = sitetypes;
     this.siterates = siterates;
     this.stylesurl = stylesurl;
     this.selecteditems = selecteditems;
     this.reservationitems = reservationitems;
     this.rvsites_available = rvsites_available;
     this.sites_description_rate = sites_description_rate;
     this.sessions = sessions;
     sessionService = new SessionService(
         this.sessions,
         this.customers,
         this.users
         );
     paymentService = new PaymentService(
         this.selecteditems,
         this.reservationitems,
         this.payments,
         this.paymentsreservationitems
         );
 }//end Constructor
Exemplo n.º 20
0
 public SearchController(
     IRepositoryBase<customer_view> customers,
     IRepositoryBase<ipmevent> ipmevents,
     IRepositoryBase<payment> payments,
     IRepositoryBase<rvsite_available_view> rvsites_available,
     IRepositoryBase<session> sessions)
 {
     this.customers = customers;
     this.ipmevents = ipmevents;
     this.sessions = sessions;
     this.payments = payments;
     this.rvsites_available = rvsites_available;
     sessionService = new SessionService(
         this.sessions,
         this.customers
         );
 }
Exemplo n.º 21
0
 public StaffController(
         IRepositoryBase<customer_view> customers_view,
         IRepositoryBase<staff_view> staffs_view,
         IRepositoryBase<staff> staffs,
         IRepositoryBase<person> persons,
         IRepositoryBase<session> sessions)
 {
     this.customers_view = customers_view;
     this.staffs_view = staffs_view;
     this.staffs = staffs;
     this.persons = persons;
     this.sessions = sessions;
     sessionService = new SessionService(
         this.sessions,
         this.customers_view,
         this.staffs_view
         );
 }//end Constructor
Exemplo n.º 22
0
 public CustomerController(IRepositoryBase<customer_view> customers_view,
         IRepositoryBase<staff_view> users,
         IRepositoryBase<person> persons,
         IRepositoryBase<customer> customers,
         IRepositoryBase<session> sessions,
         IRepositoryBase<provincecode> provincecodes,
         IRepositoryBase<countrycode> countrycodes)
 {
     this.customers_view = customers_view;
     this.users = users;
     this.customers = customers;
     this.persons = persons;
     this.provincecodes = provincecodes;
     this.countrycodes = countrycodes;
     this.sessions = sessions;
     sessionService = new SessionService(
         this.sessions,
         this.customers_view,
         this.users
         );
 }//end Constructor
Exemplo n.º 23
0
        /// <summary>
        /// Initializes a new instance of the CommunityService class.
        /// </summary>
        /// <param name="communityRepository">Instance of Community repository</param>
        /// <param name="tagRepository">Instance of Tag repository</param>
        /// <param name="blobDataRepository">Instance of Blob data repository</param>
        /// /// <param name="userRepository">Instance of User repository</param>
        public CommunityService(
            ICommunityRepository communityRepository,
            IRepositoryBase<Tag> tagRepository,
            IBlobDataRepository blobDataRepository,
            IUserRepository userRepository,
            IUserCommunitiesRepository userCommunitiesRepository,
            IRepositoryBase<OffensiveCommunities> offensiveCommunitiesRepository,
            IRepositoryBase<OffensiveContent> offensiveContentRepository)
            : base(communityRepository, userRepository)
        {
            this._communityRepository = communityRepository;
            this._tagRepository = tagRepository;
            this._blobDataRepository = blobDataRepository;
            this._userRepository = userRepository;
            this._userCommunitiesRepository = userCommunitiesRepository;
            this._offensiveCommunitiesRepository = offensiveCommunitiesRepository;
            this._offensiveContentRepository = offensiveContentRepository;

            // TODO : Revisit this
            _contentService = DependencyResolver.Current.GetService(typeof(IContentService)) as IContentService;
        }
Exemplo n.º 24
0
 public HomeController(IRepositoryBase <Customer> customers, IRepositoryBase <Product> products, IRepositoryBase <Basket> baskets)
 {
     this.customers = customers;
     this.products  = products;
     this.baskets   = baskets;
     basketService  = new BasketService(this.baskets);
 }
Exemplo n.º 25
0
 public ServiceBase(IRepositoryBase <Entidade> repository)
 {
     this.repository = repository;
 }
 public CustomersController(IRepositoryBase<Customer> customerRepo)
 {
     _db = customerRepo;
 }
Exemplo n.º 27
0
 public BlogPostsManager(IRepositoryBase <BlogPost> blogPostRepository, IRepositoryBase <BlogPostComment> blogPostCommentRepository)
 {
     _blogPostRepository        = blogPostRepository;
     _blogPostCommentRepository = blogPostCommentRepository;
 }
Exemplo n.º 28
0
 public AppServiceBase(IUnitOfWork unitOfWork, IRepositoryBase <T> repositoryBase)
 {
     _unitOfWork     = unitOfWork;
     _repositoryBase = repositoryBase;
 }
Exemplo n.º 29
0
 public ServiceBase(IRepositoryBase <T> _repository)
 {
     repository = _repository;
 }
Exemplo n.º 30
0
 public PriceIntegration(IRepositoryBase <Configuration> repo, ILogger <PriceIntegration> logger)
 {
     _logger = logger;
     _repo   = repo;
 }
 public PersonBusiness(IRepositoryBase <Person> repository)
 {
     _repository = repository;
     _converter  = new PersonConverter();
 }
Exemplo n.º 32
0
 public HomeController(ApplicationDbContext context)
 {
     _context    = context;
     _repository = new RepositoryBase <Product>(context);
 }
Exemplo n.º 33
0
 public BusinessGroupsOfEmployee(IRepositoryBase <GroupsOfEmployee> repository, IUnitOfWork uow, IRepositoryGroupsOfEmployee repositoryGroupsOfEmployee)
     : base(repository, uow)
 {
     _repositoryGroupsOfEmployee = repositoryGroupsOfEmployee;
 }
 /// <summary>
 /// constructor to inject the repository
 /// </summary>
 /// <param name="repository">entity repository</param>
 public ServiceBase(IRepositoryBase <TEntity> repository) : base()
 {
     _repository = repository;
 }
Exemplo n.º 35
0
 public RepositoryBaseTest()
 {
     _repositoryBase = GetService <IRepositoryBase <UserEntity, long> >();
 }
Exemplo n.º 36
0
 public BookController(IRepositoryBase <BookDto> BookRepository)
 {
     this.BookRepository = BookRepository;
 }
 public BusinessDiscounts(IRepositoryBase <Discounts> repository, IUnitOfWork uow, IRepositoryDiscounts repositoryDiscounts)
     : base(repository, uow)
 {
     _repositoryDiscounts = repositoryDiscounts;
 }
Exemplo n.º 38
0
 public ServiceBase(IRepositoryBase <TEntity> repositoryBase)
 {
     _repository = repositoryBase;
 }
Exemplo n.º 39
0
 public HomeController(IRepositoryBase<Customer> customers)
 { this.customers = customers; }
 public CellPhonesController()
 {
     CellPhones = new CellPhonesRepository(myDataContext);
 }
Exemplo n.º 41
0
 /// <summary>
 /// Initializes a new instance of the EntityService class.
 /// </summary>
 /// <param name="contentsViewRepository">Instance of ContentsView repository</param>
 /// <param name="allContentsViewRepository">Instance of AllContentsView repository</param>
 /// <param name="contentRepository">Instance of Content repository</param>
 /// <param name="communitiesViewRepository">Instance of CommunitiesView repository</param>
 /// <param name="allCommunitiesViewRepository">Instance of AllCommunitiesView repository</param>
 /// <param name="topCategoryEntities">Instance of TopCategoryEntities repository</param>
 /// <param name="blobDataRepository">Instance of blob data repository</param>
 /// <param name="communityRepository">Instance of Community repository</param>
 /// <param name="userRepository">Instance of User repository</param>
 /// <param name="featuredCommunitiesViewRepository">Instance of FeaturedCommunitiesView repository</param>
 /// <param name="featuredContentsViewRepository">Instance of FeaturedContentsView repository</param>
 /// <param name="communityTagsRepository">Instance of CommunityTags repository</param>
 /// <param name="contentTagsRepository">Instance of ContentTags repository</param>
 public EntityService(
         IContentsViewRepository contentsViewRepository,
         IRepositoryBase<AllContentsView> allContentsViewRepository,
         IContentRepository contentRepository,
         ICommunitiesViewRepository communitiesViewRepository,
         IRepositoryBase<AllCommunitiesView> allCommunitiesViewRepository,
         IRepositoryBase<TopCategoryEntities> topCategoryEntities,
         IBlobDataRepository blobDataRepository,
         ICommunityRepository communityRepository,
         IUserRepository userRepository,
         IRepositoryBase<FeaturedCommunitiesView> featuredCommunitiesViewRepository,
         IRepositoryBase<FeaturedContentsView> featuredContentsViewRepository,
         ICommunityTagsRepository communityTagsRepository,
         IContentTagsRepository contentTagsRepository)
 {
     _contentsViewRepository = contentsViewRepository;
     _allContentsViewRepository = allContentsViewRepository;
     _contentRepository = contentRepository;
     _communitiesViewRepository = communitiesViewRepository;
     _allCommunitiesViewRepository = allCommunitiesViewRepository;
     _topCategoryEntities = topCategoryEntities;
     _communityRepository = communityRepository;
     _userRepository = userRepository;
     _blobDataRepository = blobDataRepository;
     _featuredCommunitiesViewRepository = featuredCommunitiesViewRepository;
     _featuredContentsViewRepository = featuredContentsViewRepository;
     _communityTagsRepository = communityTagsRepository;
     _contentTagsRepository = contentTagsRepository;
 }
 public static IEnumerable <Product> ProductByCategory(this IRepositoryBase <Category> repository, int id)
 {
     return(repository.GetById(id).Products.AsEnumerable());
 }
Exemplo n.º 43
0
 public AdminController(IRepositoryBase<Customer> customers, IRepositoryBase<Product> products)
 {
     this.customers = customers;
     this.products = products;
 }
Exemplo n.º 44
0
 public HomeController(IRepositoryBase <Customer> customers)
 {
     this.customers = customers;
 }
Exemplo n.º 45
0
 private void Initialize()
 {
     Clients     = new RepositoryBase <Client>(_context, tenant, _tenancyActive);
     Connections = new RepositoryBase <Connection>(_context, tenant, _tenancyActive);
     Triggers    = new RepositoryBase <TriggerMessage>(_context, tenant, _tenancyActive);
 }
Exemplo n.º 46
0
 /// <summary>
 /// 实体初始化
 /// </summary>
 /// <param name="repo"></param>
 /// <param name="sc"></param>
 public void Initialize(IRepositoryBase repo, ServiceContext sc)
 {
     this.IRepositoyBase = repo;
     this.ServiceContext = sc;
 }
Exemplo n.º 47
0
 public void Setup()
 {
     _uow  = new UnitOfWork(PrepareTestingLab.TestContext);
     _repo = _uow.GetRepository <Poll>();
 }
Exemplo n.º 48
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="repo"></param>
 /// <param name="sc"></param>
 public EntityBase(IRepositoryBase repo, ServiceContext sc)
 {
     this.Initialize(repo, sc);
 }
Exemplo n.º 49
0
 public ServiceController(IRepositoryBase<service> services)
 {
     this.services = services;
 }//end Constructor
Exemplo n.º 50
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public EntityBase()
 {
     this.IRepositoyBase = null;
     this.ServiceContext = null;
 }
Exemplo n.º 51
0
 public UsersController(IRepositoryBase <User> context)
 {
     _context = context;
 }
Exemplo n.º 52
0
 private void AddApproProcess(string workId, string desc, ApprovalStatus status, FlowNodeEntity node, IRepositoryBase db)
 {
     if (node != null && !string.IsNullOrEmpty(node.Id))
     {
         ApprovalProcessEntity appproEntity = new ApprovalProcessEntity();
         appproEntity.Create();
         appproEntity.WorkId         = workId;
         appproEntity.ApprovalStatus = (int)status;
         appproEntity.NodeId         = node.Id;
         appproEntity.NodeName       = node.Name;
         appproEntity.Description    = desc;
         appproEntity.IsStart        = false;
         appproEntity.IsEnd          = false;
         var LoginInfo = OperatorProvider.Provider.GetCurrent();
         if (LoginInfo != null)
         {
             appproEntity.ApprovalUserId   = LoginInfo.UserId;
             appproEntity.ApprovalUserName = LoginInfo.UserName;
         }
         db.Insert(appproEntity);
     }
     else
     {
         throw new Exception("当前节点异常!");
     }
 }
Exemplo n.º 53
0
 public CountryController(IRepositoryBase<countrycode> countrycodes)
 {
     this.countrycodes = countrycodes;
 }//end Constructor
Exemplo n.º 54
0
 protected BaseService()
 {
     _mapper           = IoCManager.GetResolve <IMapper>();
     _entityReposiyory = IoCManager.GetResolve <IRepositoryBase <TDbContext, TEntity, TKey> >();
 }
 public BusinessSaleExtras(IRepositoryBase <SaleExtras> repository, IUnitOfWork uow, IRepositorySaleExtras repositorySaleExtras)
     : base(repository, uow)
 {
     _repositorySaleExtras = repositorySaleExtras;
 }
Exemplo n.º 56
0
 public PessoaFisicaRepository(IRepositoryBase Repository)
 {
     _RepositoryBase = Repository;
 }
 public ReservationViewController(IRepositoryBase<reservation_view> reservations_view)
 {
     this.reservations_view = reservations_view;
 }//end Constructor
Exemplo n.º 58
0
 public BusinessUsers(IRepositoryBase <Users> repository, IUnitOfWork uow) : base(repository, uow)
 {
 }
Exemplo n.º 59
0
 public UserManager(IUserRegisterResolver userResolver, IRepositoryBase <User> userRepository)
 {
     _userResolver   = userResolver;
     _userRepository = userRepository;
 }
 public ServiceBase(IRepositoryBase <T> repositorio)
 {
     _repositorio = repositorio;
 }