Beispiel #1
0
 public HomeController()
 {
     _context       = new GoSerbisyoDBContext();
     _services      = new ServicesAppService(_context);
     _serviceImages = new ServiceImagesAppService(_context);
     _membership    = new MembershipAppService();
     _message       = new MessagesAppService(_context);
 }
 public ResultsController()
 {
     _context       = new GoSerbisyoDBContext();
     _services      = new ServicesAppService(_context);
     _serviceImages = new ServiceImagesAppService(_context);
     _membership    = new MembershipAppService();
     _ratings       = new ServiceRatingsAppService(_context);
     _report        = new ServiceReportsAppService(_context);
 }
Beispiel #3
0
 public ServiceRatingsAppService(IGoSerbisyoDBContext context)
 {
     _context = context;
 }
 public ServiceImagesAppService(IGoSerbisyoDBContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public ServiceReportsAppService(IGoSerbisyoDBContext context)
 {
     _context = context;
 }