예제 #1
0
 public void Save(TrnHasilProduksiDto model)
 {
     try
     {
         var db = Mapper.Map <TRN_HASIL_PRODUKSI>(model);
         _trnHasilProduksiServices.Save(db);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
        public void Save(TrnHasilProduksiDto model, LoginDto LoginDto)
        {
            try
            {
                var db    = Mapper.Map <TRN_HASIL_PRODUKSI>(model);
                var Login = Mapper.Map <Login>(LoginDto);

                _trnHasilProduksiServices.Save(db, Login);
            }
            catch (Exception)
            {
                throw;
            }
        }