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 }); }
public SelectionDto GetLastSelectionAPI(int idSelection) { return(repo.GetLastSelectionRepoDonnes()); }