wangxinhui
2024-11-06 8f392cc88b0768b74efca3b68785cf5aa1c38e70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using WIDESEA_Services.IRepositories;
 
namespace WIDESEA_Services.Services
{
    public partial class dt_dispatchmanagementService
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
        private readonly Idt_dispatchmanagementRepository _repository;//访问数据库
 
        [ActivatorUtilitiesConstructor]
        public dt_dispatchmanagementService(
            Idt_dispatchmanagementRepository dbRepository,
            IHttpContextAccessor httpContextAccessor
            )
        : base(dbRepository)
        {
            _httpContextAccessor = httpContextAccessor;
            _repository = dbRepository;
        }
    }
}