public async Task <IActionResult> GetControlsAsync() { List <ControlVM> controls = await _controlBL.GetControls(); if (controls == null) { return(NotFound("No Records Found")); } return(Ok(controls)); }