public IEnumerable <ContainerSizeViewModel> GetContainerSizes() { var source = _containerSizeRepository.GetAll(); var destination = Mapper.Map <IEnumerable <ContainerSize_M>, IEnumerable <ContainerSizeViewModel> >(source); return(destination); }
public static List <ContainerSize> GetAll() { return(repository.GetAll()); }