strong ressources and interface
This commit is contained in:
parent
556d5b6ad2
commit
ddedb227b1
44 changed files with 2456 additions and 414 deletions
|
|
@ -17,11 +17,11 @@ namespace Yavsc.Controllers
|
|||
public class ActivityController : Controller
|
||||
{
|
||||
private ApplicationDbContext _context;
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR;
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> SR;
|
||||
ILogger logger;
|
||||
|
||||
public ActivityController(ApplicationDbContext context,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR,
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> SR,
|
||||
ILoggerFactory loggerFactory)
|
||||
{
|
||||
_context = context;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace Yavsc.Controllers
|
|||
IYavscMessageSender messageSender,
|
||||
UserManager<ApplicationUser> userManager,
|
||||
ICalendarManager calendarManager,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> localizer,
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> localizer,
|
||||
IEmailSender emailSender,
|
||||
IOptions<SmtpSettings> smtpSettings,
|
||||
IOptions<SiteSettings> siteSettings,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace Yavsc.Controllers
|
|||
UserManager<ApplicationUser> userManager,
|
||||
IBillingService billing,
|
||||
ILoggerFactory loggerFactory,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR)
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> SR)
|
||||
{
|
||||
_context = context;
|
||||
_userManager = userManager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue