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(); }
public HelperServiceController() { bCheckUOW = new bCheckUnitOfWork(); ContextUserLoginID = HttpContext.Current.User.Identity.Name.ToLower(); }