Blog.Common.Utils.Helpers.FileHelper.CreateDirectory C# (CSharp) Method

CreateDirectory() public method

public CreateDirectory ( string path ) : bool
path string
return bool
        public bool CreateDirectory(string path)
        {
            try
            {
                Directory.CreateDirectory(path);
                return true;
            }
            catch (Exception ex)
            {
                throw new BlogException(ex.Message, ex.InnerException);
            }
        }