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