20 lines
874 B
C#
20 lines
874 B
C#
using EnVisage.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace EnVisage.Code.BLL
|
|
{
|
|
public interface IMixManager<out TDbClass>
|
|
{
|
|
void Delete(string mixId);
|
|
TDbClass SaveWithChildren(MixSaveModel model);
|
|
MixSaveModel RetrieveModel(string mixId);
|
|
MixSaveModel RetrieveWithChildren(string mixId);
|
|
List<MixProjectModel> GetProjectModel(List<Guid> projects);
|
|
List<MixScenarioTimestampModel> ActivateMix(MixSaveModel mix, string mixKey);
|
|
void ActivateTeams(List<MixTeamModel> mixTeams);
|
|
Guid ActivateScenario(ScenarioCalendarMixModel scenario, List<Guid> teams, string mixId, bool isActive);
|
|
Dictionary<string, ExpenditureDetail> GetFullAllocationInfoByScenario(string mixId, Guid scenarioId);
|
|
Dictionary<Guid, PeopleResourceAllocationsInfoModel> GetResourceAllocationsInfo(List<Guid> resources);
|
|
}
|
|
} |