Example #1
0
 public UserBusinessLogic(IUserRepository userRepository, ITypeIdentificationRepository typeIdentificationRepository, IEncryptedPassword encriptedPassword, IMapper mapper)
 {
     _userRepository = userRepository;
     _typeIdentificationRepository = typeIdentificationRepository;
     _encriptedPassword            = encriptedPassword;
     _mapper = mapper;
 }
 public TypeIdentificationsController(ITypeIdentificationRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper = mapper;
 }
 public TypeIdentificationService(ITypeIdentificationRepository ITypeIdentificationRepository)
 {
     _ITypeIdentificationRepository = ITypeIdentificationRepository;
 }
 public TypeIdentificationService(ITypeIdentificationRepository typeIdentificationRepository)
 {
     _typeIdentificationRepository = typeIdentificationRepository;
 }
 public IdentificationTypeBusinessLogic(IMapper mapper, ITypeIdentificationRepository typeIdentificationRepository)
 {
     _mapper = mapper;
     _typeIdentificationRepository = typeIdentificationRepository;
 }
Example #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="language">repositorio lenguaje</param>
 /// <param name="menu">repositorio menu</param>
 /// <param name="parameters">repositorio parametros</param>
 /// <param name="roles">repositorio roles</param>
 /// <param name="rolMenu">repositorio roles menu</param>
 /// <param name="third">repositorio tercero</param>
 /// <param name="thirdType">repositorio tipo tercero</param>
 /// <param name="typeIdentification">repositorio tipo identificación</param>
 /// <param name="userInfoDetail">repositorio informacion detalle de usuario</param>
 /// <param name="user">repositorio de usuarios</param>
 /// <param name="userRoles">repositorio de usuarios roles</param>
 /// <param name="userStatus">repositorio de estados de usuarios</param>
 public UnitOfWork(ILanguageAppRepository language, IMenuRepository menu, IParametersAppRepository parameters, IRolesRepository roles, IRolMenuRepository rolMenu, IThirdRepository third, IThirdTypeRepository thirdType, ITypeIdentificationRepository typeIdentification, IUserInfoDetailRepository userInfoDetail, IUserRepository user, IUserRolesRepository userRoles, IUserStatusRepository userStatus)
 {
     Language           = language ?? throw new ArgumentNullException(nameof(language));
     Menu               = menu ?? throw new ArgumentNullException(nameof(menu));
     Parameters         = parameters ?? throw new ArgumentNullException(nameof(parameters));
     Roles              = roles ?? throw new ArgumentNullException(nameof(roles));
     RolMenu            = rolMenu ?? throw new ArgumentNullException(nameof(rolMenu));
     Third              = third ?? throw new ArgumentNullException(nameof(third));
     ThirdType          = thirdType ?? throw new ArgumentNullException(nameof(thirdType));
     TypeIdentification = typeIdentification ?? throw new ArgumentNullException(nameof(typeIdentification));
     UserInfoDetail     = userInfoDetail ?? throw new ArgumentNullException(nameof(userInfoDetail));
     User               = user ?? throw new ArgumentNullException(nameof(user));
     UserRoles          = userRoles ?? throw new ArgumentNullException(nameof(userRoles));
     UserStatus         = userStatus ?? throw new ArgumentNullException(nameof(userStatus));
 }
 public UserService(IUserRepository userRepository, ITypeIdentificationRepository ITypeIdentificationRepository)
 {
     _userRepository = userRepository;
     _ITypeIdentificationRepository = ITypeIdentificationRepository;
 }