public async Task <bool> Delete(Serie newvalue) { return(await ConnectorSerie.Delete(MyMapper.Mapper.Map <DBSerie>(newvalue))); }
public async Task <IEnumerable <Serie> > GetAllByIdParent(Nullable <int> idparent) { return(MyMapper.Mapper.Map <IEnumerable <Serie> >(await ConnectorSerie.GetAllByParent(idparent))); }
public async Task Update(Serie newvalue) { await ConnectorSerie.Update(MyMapper.Mapper.Map <DBSerie>(newvalue)); }
public async Task <IEnumerable <Serie> > GetAll() { return(MyMapper.Mapper.Map <IEnumerable <Serie> >(await ConnectorSerie.GetAll())); }
public async Task <IEnumerable <int> > GetAllDescendant(Serie serie) { return(await ConnectorSerie.GetAllDescendant(MyMapper.Mapper.Map <DBSerie>(serie))); }
public async Task <Serie> FirstAncestor(Serie node) { return(MyMapper.Mapper.Map <Serie>(await ConnectorSerie.FirstAncestor(MyMapper.Mapper.Map <DBSerie>(node)))); }
public async Task <Serie> GetById(int Id) { return(MyMapper.Mapper.Map <Serie>(await ConnectorSerie.Get(Id))); }
public async Task <Serie> GetSerieAsync(Serie serie) { return(MyMapper.Mapper.Map <Serie>(await ConnectorSerie.Get(MyMapper.Mapper.Map <DBSerie>(serie)))); }