public async Task <IEnumerable <TimeReport> > GetAllUserReports(int userId) { var dbArgs = new DynamicParameters(); dbArgs.Add("userId", userId); return(await queryExecuter.GetManyAsync(getAllSQL, dbArgs)); }
public async Task <IEnumerable <ActivityType> > GetAll() { string query = $"SELECT Id, Name, ColorValue, ImportanceFactor FROM ActivityTypes"; return(await queryExecuter.GetManyAsync(query)); }
public async Task <IEnumerable <Activity> > GetAll() { string query = $"{getAllQuery}"; return(await queryExecuter.GetManyAsync(query)); }
public async Task <IEnumerable <User> > GetAll() { return(await queryExecuter.GetManyAsync(getAllQuery)); }