public ItemsService(IItemsRepository itemRepo, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ICategoriesRepository categoryContext) { _itemRepo = itemRepo; _gendersContext = gendersContext; _featuresContext = featuresContext; _categoryContext = categoryContext; }
public AdministratorController(IAdminRepository adminRepository, IBreedsRepository breedRepository, IGendersRepository gendersRepository, IProfileImageRepository imageRepository) { this.adminRepository = adminRepository; this.breedRepository = breedRepository; this.gendersRepository = gendersRepository; this.imageRepository = imageRepository; }
public CartsController(CartContext context, ItemsContext Goodcontext, UserManager <IdentityUser> userManager, ApplicationDbContext context7, ICategoriesRepository categoryContext, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ItemsContext contextIt) { _itemcontext = Goodcontext; _context = context; _context7 = context7; this.userManager = userManager; _categoryContext = categoryContext; _gendersContext = gendersContext; _featuresContext = featuresContext; _contextIt = contextIt; }
//public event PropertyChangedEventHandler PropertyChanged = delegate { }; public GenderListViewModel(IGendersRepository repo) { _repo = repo; //if (DesignerProperties.GetIsInDesignMode( // new System.Windows.DependencyObject())) return; //Genders = new ObservableCollection<Gender>(_repo.GetGendersAsync().Result); DeleteCommand = new RelayCommand(OnDelete, CanDelete); AddGenderCommand = new RelayCommand(OnAddGender); EditGenderCommand = new RelayCommand <Gender>(OnEditGender); ClearSearchCommand = new RelayCommand(OnClearSearch); }
public ItemsController(ItemsContext context, ItemsService contextSearch, ICategoriesRepository categoryContext, IWebHostEnvironment hostEnvironment, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ICommentsRepository commentsContext, CommentsContext comContext, UserManager <IdentityUser> userManager) { _categoryContext = categoryContext; _context = context; //_context2 = context2; _commentsContext = commentsContext; _gendersContext = gendersContext; _featuresContext = featuresContext; webHostEnvironment = hostEnvironment; _comContext = comContext; _contextSearch = contextSearch; this.userManager = userManager; }
public AdoptionController( IConfiguration configuration, IAdminRepository adminRepository, IBreedsRepository breedRepository, IGendersRepository gendersRepository, IAppoinmentRepository appoinmentRepository, UserManager <ApplicationUser> userManager, IPersonRepository personRepository) { Configuration = configuration; this.adminRepository = adminRepository; this.breedRepository = breedRepository; this.gendersRepository = gendersRepository; this.appoinmentRepository = appoinmentRepository; _userManager = userManager; this.personRepository = personRepository; }
public DataManager(IBlogCommentAnswersRepository blogCommentAnswers, IBlogCommentsRepository blogComments, IBlogRepository blog, IClientServicesRepository clientServices, IClientsRepository clients, IGendersRepository genders, IServiceCategoriesRepository serviceCategories, IServicesRepository services, ITestimonialsRepository testimonials, ITrainerCategoriesRepository trainerCategories, ITrainersRepository trainers) { BlogCommentAnswers = blogCommentAnswers; BlogComments = blogComments; Blog = blog; ClientServices = clientServices; Clients = clients; Genders = genders; ServiceCategories = serviceCategories; Services = services; Testimonials = testimonials; TrainerCategories = trainerCategories; Trainers = trainers; }
public GendersBusinessWorkflow(IGendersRepository gendersRepository, IGenderMapper genderMapper) { GendersRepository = gendersRepository; GenderMapper = genderMapper; }
public GendersService(IGendersRepository genRepo) { _genRepo = genRepo; }
public GenderFormViewModel(IGendersRepository repo) { _repo = repo; CancelCommand = new RelayCommand(OnCancel); SaveCommand = new RelayCommand(OnSave, CanSave); }