public EmployeeController(IEmployeeService employeeService, IPersonService personService, IBusinessEntityAddressService businessEntityAddressService, IBusinessEntityContactService businessEntityContactService, IPhoneService phoneService, IAddressService addressService, IAddressTypeService addressTypeService, IPhoneTypeService phoneTypeService, IContactTypeService contactTypeService, IBusinessEntityService businessEntityService, IUnitOfWorkAsync unitOfWork) { this.businessEntityService = businessEntityService; this.employeeService = employeeService; this.unitOfWork = unitOfWork; this.addressService = addressService; this.personService = personService; this.businessEntityContactService = businessEntityContactService; this.businessEntityAddressService = businessEntityAddressService; this.personService = personService; this.phoneService = phoneService; this.addressTypeService = addressTypeService; this.phoneTypeService = phoneTypeService; this.contactTypeService = contactTypeService; }
public ReservationsController(IReservationService reservationService, IContactService contactService, IContactTypeService contactTypeService) { this._reservationService = reservationService; this._contactService = contactService; this._contactTypeService = contactTypeService; }
public ContactType VName(ContactType contacttype, IContactTypeService _contacttypeService) { if (String.IsNullOrEmpty(contacttype.Name) || contacttype.Name.Trim() == "") { contacttype.Errors.Add("Name", "Tidak boleh kosong"); } return(contacttype); }
public ContactType VUpdateObject(ContactType contacttype, IContactTypeService _contacttypeService) { VName(contacttype, _contacttypeService); if (!isValid(contacttype)) { return(contacttype); } return(contacttype); }
public AbstractContactTypeController( ApiSettings settings, ILogger <AbstractContactTypeController> logger, ITransactionCoordinator transactionCoordinator, IContactTypeService contactTypeService, IApiContactTypeModelMapper contactTypeModelMapper ) : base(settings, logger, transactionCoordinator) { this.ContactTypeService = contactTypeService; this.ContactTypeModelMapper = contactTypeModelMapper; }
public EmployeeApiController(IEmployeeService EmployeeService, IContactTypeService ContactTypeService, ITagService TagService, IEmployeeContactTypesService EmployeeContactTypesService, IEmployeeHistoryService EmployeeHistoryService, IEmployeeTagsService EmployeeTagsService ) { _EmployeeService = EmployeeService; _ContactTypeService = ContactTypeService; _TagService = TagService; _EmployeeContactTypesService = EmployeeContactTypesService; _EmployeeHistoryService = EmployeeHistoryService; _EmployeeTagsService = EmployeeTagsService; }
public MainWindowVM() { this._user = new User(); this._users = new ObservableCollection <User>(); this._contactTypes = new ObservableCollection <ContactType>(); this._logs = new ObservableCollection <Log>(); this._groups = new ObservableCollection <Group>(); this._favorites = new ObservableCollection <Favorite>(); this._groupService = new GroupService(); this._favoritesService = new FavoritesService(); this._contactService = new ContactService(); this._userService = new UserService(); this._contactTypeService = new ContactTypeService(); this._logService = new LogService(); }
public ContactTypeController( ApiSettings settings, ILogger <ContactTypeController> logger, ITransactionCoordinator transactionCoordinator, IContactTypeService contactTypeService, IApiContactTypeModelMapper contactTypeModelMapper ) : base(settings, logger, transactionCoordinator, contactTypeService, contactTypeModelMapper) { this.BulkInsertLimit = 250; this.MaxLimit = 1000; this.DefaultLimit = 250; }
public ContactsPlayerRegisterViewModel(INavigation navigation, IRequestService requestService, Player player) { _navigation = navigation; _requestService = requestService; Player = player; if (AppSettings.ApiStatus) { _contactTypeService = new ContactTypeService(requestService); _playerService = new PlayerService(requestService); } else { _contactTypeService = new FakeContactTypeService(); _playerService = new FakePlayerService(); } Contacts = new ObservableCollection <Contact>(); ContactTypes = new ObservableCollection <ContactType>(); Task.Run(async() => { await LoadContactTypes(); await LoadContacts(); }); }
public ContactsTeamRegisterViewModel(INavigation navigation, IRequestService requestService, Team team) { _navigation = navigation; _requestService = requestService; Team = team; if (AppSettings.ApiStatus) { _contactTypeService = new ContactTypeService(requestService); _teamService = new TeamService(requestService); } else { _contactTypeService = new FakeContactTypeService(); _teamService = new FakeTeamService(); } Contacts = new ObservableCollection <Contact>(); ContactTypes = new ObservableCollection <ContactType>(); Task.Run(async() => { await LoadContactTypes(); await LoadContacts(); }); }
public ContactTypeController(IContactTypeService contactTypeService, IMapper mapper) { this._contactTypeService = contactTypeService; this._mapper = mapper; }
public ContactTypesController(IContactTypeService service) { _service = service; }
public ContactTypeController(IContactTypeService addressTypeService) { _addressTypeService = addressTypeService; }
public ContactTypeApplication(IContactTypeService services) : base(services) { _services = services; }
public ContactTypeController(IContactTypeService contactTypeService) =>
public ContactsController(IContactService contactService, IContactTypeService contactTypeService) { this._contactService = contactService; this._contactTypeService = contactTypeService; }