public RegistersController(DomainContext context, ILogger <RegistersController> log, UserManager <Users> userManag, SignInManager <Users> signInManag, RoleManager <Role> roleManag) { IdTypeBO = new IdentificationTypeBO(context); departmentBO = new DepartmentBO(context); personBO = new PersonBO(context); singInManager = signInManag; roleManager = roleManag; userManager = userManag; logger = log; }
/// <summary> /// Initializes a new instance of the <see cref="T:B4F.TotalGiro.CRM.Identification">Identification</see> class. /// </summary> public Identification(IIdentificationType identificationType, DateTime validityPeriod, string number) { this.identificationType = identificationType; this.validityPeriod = validityPeriod; this.number = number; }