public void Delete(Guid id) { BusinessManagerHelper <TManager> .Execute(manager => manager.Delete(id)); }
public TEntity Get(Guid id) { return(BusinessManagerHelper <TManager> .Execute(manager => manager.Get(id))); }
public TEntity Put(TEntity entity) { return(BusinessManagerHelper <TManager> .Execute(manager => manager.Update(entity))); }
public IEnumerable <TEntity> Get() { return(BusinessManagerHelper <TManager> .Execute(manager => manager.Get())); }