123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using System.Collections.Generic;
- using System.IdentityModel.Tokens.Jwt;
- using System.Linq;
- using System.Security.Claims;
- using System.Text;
- using FMSAdmin.Data;
- using FMSAdmin.Helpers;
- using FMSAdmin.Entities;
- using Microsoft.EntityFrameworkCore;
- using Microsoft.Extensions.Logging;
- using Microsoft.Extensions.Options;
- using Microsoft.IdentityModel.Tokens;
- using FMSAdmin.Models;
- namespace FMSApp.Services {
- public class ReportHistoryService {
- private readonly ILogger<ReportHistoryService> _logger;
- private readonly FMSContext _context;
- private readonly AppSettings _appSettings;
- private readonly StorageHelper _storage;
- public ReportHistoryService(
- ILogger<ReportHistoryService> logger,
- FMSContext context,
- IOptions<AppSettings> appSettings,
- StorageHelper storage
- ) {
- _logger = logger;
- _context = context;
- _appSettings = appSettings.Value;
- _storage = storage;
- }
- public IQueryable<BemsReportHistory> GetAll() {
- var query = _context.BemsReportHistory;
- return query;
- }
- }
- }
|