i want to write a core web api using linq to return total approved report.

can u tell how to decalre method