public DtoTimeline updateTimeLineToBLL(DtoTimeline t) { DalTimeline tl = new DalTimeline(); return(Converters.Converters.ConvertTimeLineToDTO (tl.updateTimeLineToSQL(Converters.Converters.ConvertTimeLineDAL(t)))); }
public List <DtoTimeline> GetAllBllTimeFromBll() { DalTimeline daltimeL = new DalTimeline(); List <DtoTimeline> dtoTimeLine = new List <DtoTimeline>(); List <Timeline> t = daltimeL.GetAllTimeLineFromDal(); foreach (Timeline currentTimeL in t) { dtoTimeLine.Add(Converters.Converters.ConvertTimeLineToDTO(currentTimeL)); } return(dtoTimeLine); }