private TimeSlot(PrimaryService primaryService)
 {
     PrimaryService = primaryService ?? throw new ArgumentNullException(nameof(primaryService));
 }
Example #2
0
 public PrimaryProvider(PrimaryService primary)
 {
     _primary = primary;
 }
Example #3
0
 public override async Task <ActionResult> Index()
 {
     return(View((await PrimaryService.Get().ToListAsync()).Select(e => new UserViewModel(e))));
 }