public async Task <IActionResult> GetTodoItems() //public async Task<IHttpActionResult> GetTodoItems() { //_logger.LogError("HELLO FROM TODOCONTROLLER BEFORE I THROW AN EXCEPTION"); //throw new ResourceNotFoundException("hellllllllllllllllllllllllllllllllllooooooooooo"); //string[] arrRetValues = null; //if (arrRetValues.Length > 0) //{ } //return Ok(_context.TodoItems); //var x = await _olprrService.InsertOLPRRIncidentRecord(); //var siteTypes = await _olprrService.GetSiteTypes(); return(Ok(await _lustService.GetSiteTypes())); }
public async Task <IActionResult> GetSiteTypes() { return(Ok(await _olprrService.GetSiteTypes())); }