public async Task <List <AddEvent> > GetEventsDB() { return(await _IDBLayercs.ExecuteAsyncTableSql <AddEvent>("sp_GetAllEvents")); //var _Context = new AuthenticationContext(); //var events = _Context.Set<AddEvent>().FromSqlRaw("sp_GetAllEvents").ToList(); //return events; }