public async Task <IActionResult> Delete([Required] string id)
 {
     return(Ok(await _functionRepository.DeleteFunctionAsync(id)));
 }