Пример #1
0
 public ProfitService()
 {
     profRep = new ProfitRepository();
 }
Пример #2
0
 private RepositoryUnits()
 {
     connectionString = WebConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
     ProfitRepository = new ProfitRepository(connectionString);
     CardsRepository  = new CardsRepository(connectionString);
 }