public IList <CollectionDto> GetAll() => CollectionRepsoitory.GetAll().Select(Mapper.Map <CollectionDto>).ToList();
public CollectionDto GetById(Guid collectionId) => Mapper.Map <CollectionDto>(CollectionRepsoitory.GetById(collectionId));