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