public int AddResource(Resource resource)
        {
            int result = 0;

            try
            {
                result = ResourceAccessor.AddResource(resource);
            }
            catch (Exception)
            {
                throw;
            }

            return(result);
        }