using System.Collections.Generic;
using System.Threading.Tasks;
public class PlanCapacity
public class HspcStaffing
public static HspcStaffing defaultStaffing;
await this.BuildPlanStaffingDataAsync(new List<PlanCapacity>(), null, "Outpatient");
await this.BuildPlanStaffingDataAsync(new List<PlanCapacity>(), new Plan(), "Outpatient");
await this.BuildPlanStaffingDataAsync(new List<PlanCapacity>(), new Plan(), "Primary");
public virtual async Task<List<HspcStaffing>> BuildPlanStaffingDataAsync(IEnumerable<PlanCapacity> capacity, Plan plan, string type)
return new List<HspcStaffing>{HspcStaffing.defaultStaffing};
return (List<HspcStaffing>)await this.CalculateStaffingAsync(capacity, plan, type);
public async Task<IEnumerable<HspcStaffing>> CalculateStaffingAsync(IEnumerable<PlanCapacity> capacity, Plan plan, string type)
if (type == "Outpatient")
return await Task.FromResult(new List<HspcStaffing>());
return await Task.FromResult(new List<HspcStaffing>());