Exemplo n.º 1
0
        public OpsChecklistController()
        {
            bCheckUOW = new bCheckUnitOfWork();
            LocationDetails = bCheckUOW.LocationRepository.All().ToList();
            Frequencies = (from freq in bCheckUOW.FrequencyRepository.All()
                           select freq).ToList();

            SpecificFrequencies = (from specfreq in bCheckUOW.SpecificFrequencyRepository.All()
                                   select specfreq).ToList();

            RandomFrequencies = (from randomfreq in bCheckUOW.RandomFrequencyRepository.All()
                                 select randomfreq).ToList();
            ContextUserLoginID = HttpContext.Current.User.Identity.Name.ToLower();
        }
Exemplo n.º 2
0
 public HelperServiceController()
 {
     bCheckUOW = new bCheckUnitOfWork();
     ContextUserLoginID = HttpContext.Current.User.Identity.Name.ToLower();
 }