strong ressources and interface
This commit is contained in:
@ -45,7 +45,7 @@ namespace Yavsc.Controllers
|
||||
IEmailSender emailSender,
|
||||
IOptions<SiteSettings> siteSettings,
|
||||
ILoggerFactory loggerFactory, IOptions<TwilioSettings> twilioSettings,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> localizer,
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> localizer,
|
||||
ApplicationDbContext dbContext)
|
||||
{
|
||||
_userManager = userManager;
|
||||
|
@ -55,7 +55,7 @@ namespace Yavsc.Controllers
|
||||
IOptions<GoogleAuthSettings> googleSettings,
|
||||
IOptions<PayPalSettings> paypalSettings,
|
||||
IOptions<CompanyInfoSettings> cinfoSettings,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR,
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> SR,
|
||||
ICalendarManager calendarManager,
|
||||
ILoggerFactory loggerFactory)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -34,7 +34,7 @@ namespace Yavsc.Controllers
|
||||
IOptions<GoogleAuthSettings> googleSettings,
|
||||
IYavscMessageSender GCMSender,
|
||||
UserManager<ApplicationUser> userManager,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> localizer,
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> localizer,
|
||||
IEmailSender emailSender,
|
||||
IOptions<SmtpSettings> smtpSettings,
|
||||
IOptions<SiteSettings> siteSettings,
|
||||
|
@ -19,11 +19,11 @@ namespace Yavsc.Controllers
|
||||
{
|
||||
private ApplicationDbContext _context;
|
||||
ILogger _logger;
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> _localizer;
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> _localizer;
|
||||
|
||||
public ProjectController(ApplicationDbContext context,
|
||||
ILoggerFactory loggerFactory,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> localizer
|
||||
IStringLocalizer<Yavsc.YavscLocalisation> localizer
|
||||
)
|
||||
{
|
||||
_context = context;
|
||||
|
Reference in New Issue
Block a user