public RecipeController(CoDeliveryContext context) { Mapper.CreateMap <RecipeModel, Recipe>(); Mapper.CreateMap <Recipe, RecipeModel>() .AfterMap( (src, dest) => dest.Integrations = src.IntegrationRecipes.Select( ir => ir.Integration.IntegrationSystem.ToString()) .ToList()); _context = context; }
public LoginController(CoDeliveryContext context) { _context = context; }
public IntegrationController(CoDeliveryContext context, IntegrationSystemFactory integrationSystemFactory) { _context = context; _integrationSystemFactory = integrationSystemFactory; }
public FtpController(CoDeliveryContext context) { _context = context; }
public DropboxController(DropBoxClient dropBoxClient, CoDeliveryContext context) { _context = context; _dropBoxClient = dropBoxClient; }
public DashboardController(CoDeliveryContext context) { _context = context; }