I have a situation where i want to return List<> from this function
public DataTable GetSubCategoriesBySubCatID(Guid SubCategoryID)
So what i want is
public List<SubCategories> GetSubCategoriesBySubCatID(Guid SubCategoryID)
I know overloading is not supported on the basis of return type only,I just donot want to duplicate same code in both functions.
Whats the best way to achieve this without impacting the references which hold true for first function