예제 #1
0
 /// <summary>
 /// 资产盘点的服务实现的构造函数
 /// </summary>
 public AssInventoryService(IUnitOfWork unitOfWork,
                            IAssetsRepository assetsRepository,
                            IAssInventoryRepository assInventoryRepository,
                            IAssInventoryResultRepository assInventoryResultRepository,
                            IDbContext dbContext)
 {
     _unitOfWork                   = unitOfWork;
     _assetsRepository             = assetsRepository;
     _assInventoryRepository       = assInventoryRepository;
     _assInventoryResultRepository = assInventoryResultRepository;
     _SMOSECDbContext              = (SMOSECDbContext)dbContext;
 }