C# Class EnumTypes.ViewModels.Repo_Vehicle

Inheritance: RepositoryBase
Afficher le fichier Open project: peteratseneca/dps907fall2013

Méthodes publiques

Méthode Description
AddNew ( VehiclePublic vehicle ) : VehicleFull
GetAll ( ) : IEnumerable
GetById ( int id ) : VehicleFull
UpdateExistingPhoto ( int id, string contentType, byte photo ) : VehicleFull

Method Details

AddNew() public méthode

public AddNew ( VehiclePublic vehicle ) : VehicleFull
vehicle VehiclePublic
Résultat VehicleFull

GetAll() public méthode

public GetAll ( ) : IEnumerable
Résultat IEnumerable

GetById() public méthode

public GetById ( int id ) : VehicleFull
id int
Résultat VehicleFull

UpdateExistingPhoto() public méthode

public UpdateExistingPhoto ( int id, string contentType, byte photo ) : VehicleFull
id int
contentType string
photo byte
Résultat VehicleFull