public static void Init(eProdajaContext context)
 {
     if (context.Database.EnsureCreated())
     {
         context.Database.Migrate();
     }
 }
Example #2
0
 public KorisniciUlogeService(eProdajaContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public ProizvodService(eProdajaContext context, IMapper mapper) : base(context, mapper)
 {
 }
 public KorisniciService(eProdajaContext dbContext,
                         IMapper mapper)
 {
     _dbContext = dbContext;
     _mapper    = mapper;
 }
Example #5
0
 public UlogeService(eProdajaContext context, IMapper mapper) : base(context, mapper)
 {
 }
Example #6
0
 public BaseService(eProdajaContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public JediniceMjereService(eProdajaContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public KorisniciUlogeService(eProdajaContext db, IMapper map)
 {
     _database = db;
     _mapper   = map;
 }
Example #9
0
 public VrsteProizvodaService(eProdajaContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Example #10
0
 public static void Init(eProdajaContext context)
 {
     context.Database.Migrate();
 }
Example #11
0
 public JediniceMjereService(eProdajaContext context, IMapper mapper)
     : base(context, mapper)
 {
 }
 public GenericCRUDService(eProdajaContext database, IMapper mapper) : base(database, mapper)
 {
 }
Example #13
0
 public GenericService(eProdajaContext database, IMapper mapper)
 {
     _mapper   = mapper;
     _database = database;
 }
Example #14
0
 public BaseCRUDService(eProdajaContext context, IMapper mapper) : base(context, mapper)
 {
 }
Example #15
0
 public ProizvodService(eProdajaContext database, IMapper mapper) : base(database, mapper)
 {
     _database = database;
     _mapper   = mapper;
 }
Example #16
0
 public SkladistaService(eProdajaContext context, IMapper mapper) : base(context, mapper)
 {
 }
Example #17
0
 public KorisnikService(eProdajaContext db, IMapper mapper)
 {
     _database = db;
     _mapper   = mapper;
 }