Esempio n. 1
0
        public static RecompenseDal GetRecompenseDal(this RecompenseAPI api)
        {
            RecompenseDal dal = new RecompenseDal();

            dal.biereId       = api.biereId;
            dal.recompenseId  = api.recompenseId;
            dal.recompenseNom = api.recompenseNom;
            return(dal);
        }
Esempio n. 2
0
        public static RecompenseAPI GetRecompenseAPI(this RecompenseDal dal)
        {
            RecompenseAPI api = new RecompenseAPI();

            api.recompenseId  = dal.recompenseId;
            api.recompenseNom = dal.recompenseNom;
            api.biereId       = dal.biereId;
            return(api);
        }