Beispiel #1
0
        public int DoSaveOos(Oos oos, Identification identification)
        {
            logger.Log(LogLevel.Trace, AppLib.GetCaller(logger));

            //Validate Oos Object
            if (!oos.ValidateModel())
                throw new FaultException<ServiceFault>(new ServiceFault(oos.CurrentErrors), new FaultReason(SysVars.InvalidFormat));
            // Save Oos
            using (SampleDAO dao = new SampleDAO()) {
                return dao.SaveOOS(oos, identification);
            }
        }