private async void OnStartClick(object sender, EventArgs e) { workLog.WorkLogDate = DateTime.Today; workLog.StartTime = DateTime.Now; lblWorkStartTime.Text = workLog.StartTime?.ToString("hh:mm:ss"); lblWorkEndTime.Text = ""; lblWorkDuration.Text = ""; workLog.WorkLogID = await dbTransaction.InsertLog(workLog); WorkStartState(); }