Exemplo n.º 1
0
 public void Delete(Guid id)
 {
     BusinessManagerHelper <TManager> .Execute(manager => manager.Delete(id));
 }
Exemplo n.º 2
0
 public TEntity Get(Guid id)
 {
     return(BusinessManagerHelper <TManager> .Execute(manager => manager.Get(id)));
 }
Exemplo n.º 3
0
 public TEntity Put(TEntity entity)
 {
     return(BusinessManagerHelper <TManager> .Execute(manager => manager.Update(entity)));
 }
Exemplo n.º 4
0
 public IEnumerable <TEntity> Get()
 {
     return(BusinessManagerHelper <TManager> .Execute(manager => manager.Get()));
 }