public IActionResult DeleteFunction(long id) { Function a = Func_repo.Find(id); if (a == null) { return(NotFound()); } Func_repo.Delete(a); return(Ok()); }
public Function GetById(string id) { return(_functionRepository.Find(id)); }