public async Task <IActionResult> GetSpentHours(string color) { int hours = await _automationService.GetSpentHours(color); return(Ok(hours)); }