C# Class JustPressPlay.ViewModels.AchievementViewModel

Mostrar archivo Open project: RIT-MAGIC/JustPressPlay

Private Properties

Property Type Description

Public Methods

Method Description
Populate ( int id, UnitOfWork work = null ) : AchievementViewModel

Populates an achievement view model with information about a single achievement

Method Details

Populate() public static method

Populates an achievement view model with information about a single achievement
public static Populate ( int id, UnitOfWork work = null ) : AchievementViewModel
id int The id of the achievement
work JustPressPlay.Models.Repositories.UnitOfWork The Unit of Work for DB access. If null, one will be created
return AchievementViewModel