public async Task <bool> NextTaskCode(string activityCode) { TaskCode = await _context.GetNextTaskCode(activityCode); return(TaskCode != string.Empty); }