static void Main(string[] args) { var person = new Person { DateOfBirth = DateTime.Now, Email = "*****@*****.**", Name = "Bilel", LastName = "Ben Khalifa" }; using (var db = new DepotContext()) { var p = db.Persons.ToList(); } Console.ReadKey(); }
public TrackAccess(DepotContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public SectorAccess(DepotContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public StatusAccess(DepotContext context, Mapper mapper) { _context = context; _mapper = mapper; }