Beispiel #1
0
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            var hours = _context.BranchHours
                        .Where(h => h.Branch.Id == branchId);

            return(DataHelpers.HumanizeBizHours(hours));
        }
Beispiel #2
0
        public IEnumerable <string> GetBranchHour(int branchID)
        {
            var hour = _context.BranchHours
                       .Where(b => b.Branch.Id == branchID);

            return(DataHelpers.HumanizeBizHours(hour));
        }
        public IEnumerable <string> getBranchHour(int branchId)
        {
            var hours = _context.branchHours
                        .Where(h => h.branch.id == branchId);

            return(DataHelpers.readableHourMethod(hours));
        }
        public IEnumerable <string> GetNameOfAssets(int branchId)
        {
            var assets = _context.LibraryAssets
                         .Where(h => h.Location.Id == branchId);

            return(DataHelpers.HumanizeAssets(assets));
        }
Beispiel #5
0
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            var hours = _context
                        .BranchHours
                        .Where(h => h.Branch.Id == branchId);

            return(DataHelpers.BusinessHoursToDateString(hours));
        }
        public IEnumerable <string> GetNameOfPatrons(int branchId)
        {
            var names = _context.Patrons
                        .Include(p => p.HomeLibraryBranch)
                        .Where(h => h.HomeLibraryBranch.Id == branchId);

            return(DataHelpers.HumanizeNames(names));
        }
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            var hours = _context.BranchHours.Where(a => a.Branch.Id == branchId);

            var displayHours =
                DataHelpers.HumanizeBizHours(hours);

            return(displayHours);
        }
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            var hours = _context.BranchHours.Where(b => b.Branch.Id == branchId);

            return(DataHelpers.TransformHours(hours));
        }
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            var hours = context.BranchHours.Where(b => b.Id == branchId);

            return(DataHelpers.HumanizeBusinessHours(hours));
        }
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            var hours = this.context.BranchHours.Include(b => b.Branch).Where(b => b.Branch.Id == branchId);

            return(DataHelpers.HumanizeBizHours(hours));
        }
        public IEnumerable <string> GetBranchHours(int Id)
        {
            var hours = _context.BranchHours.Where(a => a.Branch.Id == Id);

            return(DataHelpers.HumanizeBusinessHours(hours));
        }
Beispiel #12
0
        public IEnumerable <string> GetBranchHours(int branchId)
        {
            IEnumerable <BranchHours> branchHours = GetRawBranchHours(branchId);

            return(DataHelpers.HumanizeBusinessHours(branchHours));
        }