public List <Color> GetAllColors() { return(colorDal.GetList()); }
public List <Color> GetAll() { return(_colorDal.GetList()); }
public IDataResult <List <Color> > GetAll() { return(new SuccessDataResult <List <Color> > (_colorDal.GetList().ToList())); }
public IDataResult <List <Color> > GetAll() { return(new SuccessDataResult <List <Color> >(_colorDal.GetList(), Messages.ColorsListed)); }