/// <summary>
 /// Contructor de la clase
 /// </summary>
 /// <param name="context">Contexto de base de datos</param>
 public UnitOfWorkSqlServerRepository(WeeloDbContext context)
 {
     this.context  = context;
     Owner         = new OwnerRepository(this.context);
     PropertyImage = new PropertyImageRepository(this.context);
     Property      = new PropertyRepository(this.context);
     PropertyTrace = new PropertyTraceRepository(this.context);
 }
Example #2
0
 public PropertyTracesController(ILogger <PropertyTracesController> logger, IPropertyTraceRepository repository)
 {
     _repository = repository;
     _logger     = logger;
 }
Example #3
0
 public PropertyTraceService(ILogger <PropertyTraceService> logger, PropertyTraceRepository repository)
 {
     _repository = repository;
     _logger     = logger;
 }