for token, &refactoring

This commit is contained in:
2018-07-16 02:38:09 +02:00
parent 4115f1ad06
commit 3d97f27dee
65 changed files with 21 additions and 145 deletions

View File

@ -3,7 +3,6 @@
// paul schneider <paul@pschneider.fr> 19/06/2018 15:58 20182018 6 19
// */
using System;
using System.IO;
using System.Diagnostics;
using System.Threading.Tasks;

View File

@ -2,10 +2,10 @@ using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Authentication;
using Yavsc.ViewModels.Account;
namespace Yavsc.Helpers {
namespace Yavsc.Helpers
{
public static class HttpContextExtensions {
public static IEnumerable<YaAuthenticationDescription> GetExternalProviders(this HttpContext context) {
if (context == null) {

View File

@ -7,6 +7,7 @@ namespace Yavsc.Helpers
using Yavsc.Models.Haircut;
using Yavsc.Models;
using Yavsc.Models.Billing;
using Yavsc.Abstract.Identity;
public static class EventHelpers
{

View File

@ -13,7 +13,6 @@ using Yavsc.Exceptions;
using Yavsc.Models;
using Yavsc.Models.FileSystem;
using Yavsc.ViewModels;
using Yavsc.ViewModels.UserFiles;
namespace Yavsc.Helpers
{

View File

@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Rendering;
using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity;
namespace Yavsc.Server.Helpers
{

View File

@ -5,7 +5,6 @@ namespace Yavsc.Helpers
using System.Collections.Generic;
using System.Linq;
using Microsoft.Data.Entity;
using Models.Workflow;
using Yavsc.Models;
using Yavsc.Services;
using Yavsc.ViewModels.FrontOffice;