GenericService(TModel, TEntity).GetAll Method

Template MVC

GenericServiceTModel, TEntityGetAll Method

Get all the elements of the database, retreives entities from the database and convert them to models

Namespace:  Template.Service.Core
Assembly:  Template.Service (in Template.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual IEnumerable<TModel> GetAll()

Return Value

Type: IEnumerableTModel
The IEnumerable of models

Implements

IServiceTModelGetAll
See Also