Exemplo n.º 1
0
 /// <summary>
 /// Get List
 /// </summary>
 /// <returns></returns>
 public List<Line> GetLines()
 {
     using (var context=new IndicateReportMasterEntities())
     {
         return context.Lines.ToList();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get List
 /// </summary>
 /// <returns></returns>
 public List<Customer> GetCustomers()
 {
     using (var context=new IndicateReportMasterEntities())
     {
         return context.Customers.ToList();
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Get List
 /// </summary>
 /// <returns></returns>
 public List<Model> GetModels()
 {
     using (var context=new IndicateReportMasterEntities())
     {
         return context.Models.ToList();
     }
 }
Exemplo n.º 4
0
 public LineService()
 {
     _context = new IndicateReportMasterEntities();
 }
Exemplo n.º 5
0
 public CustomerService()
 {
     _context = new IndicateReportMasterEntities();
 }