Exemplo n.º 1
0
        public async Task <string> RetrieveNameAsync(int key)
        {
            GameObjectTemplateEntryModel findAsync = await Context.GameObjectTemplates
                                                     .FindAsync(key);

            return(findAsync.GameObjectName);
        }
Exemplo n.º 2
0
 public Task UpdateAsync(int key, GameObjectTemplateEntryModel model)
 {
     return(GenericRepository.UpdateAsync(key, model));
 }
Exemplo n.º 3
0
 public Task <bool> TryCreateAsync(GameObjectTemplateEntryModel model)
 {
     return(GenericRepository.TryCreateAsync(model));
 }