예제 #1
0
        public SelectionMetier GetLastSelectionMetier()
        {
            var dernierSelectionDto = repo.GetLastSelectionRepoDonnes();

            return(new SelectionMetier
            {
                Id = dernierSelectionDto.IdDto,
                FkBoisson = dernierSelectionDto.FkBoissonDto,
                FkQuantiteSucre = dernierSelectionDto.FkQuantiteSucreDto,
                NomBoisson = dernierSelectionDto.NomBoissonDto,
                QuantitySucre = dernierSelectionDto.QuantitySucreDto,
                MugPerson = dernierSelectionDto.MugPersonDto
            });
        }
예제 #2
0
 public SelectionDto GetLastSelectionAPI(int idSelection)
 {
     return(repo.GetLastSelectionRepoDonnes());
 }