Added backend API project to segregate responsibilites - Data is now handled in API project and business is all handled in UI project.
This commit is contained in:
@ -15,10 +15,10 @@ namespace ReportingServices.Shared.ViewModels.ProductionReport
|
||||
IsCurrentWeek = isCurrentWeek;
|
||||
}
|
||||
|
||||
public void SetYieldInformation(List<ReactorOutsByRDS> outs, List<ScrapByDay> scrap)
|
||||
public void SetYieldInformation(YieldInformation yieldInformation)
|
||||
{
|
||||
OutsByDay = GetReactorOutsByDay(outs);
|
||||
ScrapByDay = scrap;
|
||||
OutsByDay = GetReactorOutsByDay(yieldInformation.Outs);
|
||||
ScrapByDay = yieldInformation.Scrap;
|
||||
}
|
||||
|
||||
public static List<string> GetDistinctDatesFromReactorOuts(List<ReactorOutsByRDS> outs)
|
||||
|
Reference in New Issue
Block a user