Exemple #1
0
 public void Save(MstBahanBakuDto model)
 {
     try
     {
         var db = Mapper.Map <MST_BAHAN_BAKU>(model);
         _mstBahanBakuServices.Save(db);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #2
0
 public void Save(MstBahanBakuDto model, LoginDto LoginDto)
 {
     try
     {
         var db    = Mapper.Map <MST_BAHAN_BAKU>(model);
         var Login = Mapper.Map <Login>(LoginDto);
         _mstBahanBakuServices.Save(db, Login);
     }
     catch (Exception)
     {
         throw;
     }
 }