public GenericServiciosWebApplication(IManagerDateTime managerDateTime, IRepositoryNamed <Sistema> repositorySistem, IUsuarioRepository <Usuario> repositoryUser) { _repositorySistem = repositorySistem; _repositoryUser = repositoryUser; _managerDateTime = managerDateTime; }
public GenericApiApplication( IManagerDateTime managerDateTime, ILoggerFactory iLoggerFactory) { _managerDateTime = managerDateTime; log = iLoggerFactory.Create(typeof(GenericApiApplication)); log.DebugFormat("Call GenericApplication.Construct"); }
public EntityFrameworkRepositoryNamed(DbContext context, IIdentityUser identityUser, IManagerDateTime managerDateTime) : base(context) { }
//{ // get // { // return ServiceLocator.Current.GetInstance<DbContext>(); // } //} public EntityFrameworkRepository(DbContext context) { _context = context; _identityUser = ServiceLocator.Current.GetInstance <IIdentityUser>(); _managerDateTime = ServiceLocator.Current.GetInstance <IManagerDateTime>(); }