首页 > 技术文章 > C# 定时任务 hangfire 之 业务层注入

quwujin 2020-07-27 10:30 原文

首先定义一个类

 

 在configureService中添加

 

 在configure 中使用注入

 

推荐阅读