예제 #1
0
        public int GetLastTicketNumber(int installationNo)
        {
            using (ILogMethod method = Log.LogMethod(this.DYN_MODULE_NAME, "GetLastTicketNumber"))
            {
                int?result = default(int?);

                try
                {
                    using (ExCommsSQLDataAccess dbContext = this.GetDataContext())
                    {
                        dbContext.rsp_GetLastTicketNumber(installationNo, ref result);
                    }
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                }

                return(result.SafeValue());
            }
        }