strICT.InFlow.Web.Controllers.ManageBOsController.readViewData C# (CSharp) Method

readViewData() private method

private readViewData ( string path ) : string
path string
return string
        private string readViewData(string path)
        {
            path = Server.MapPath("~/" + path);
            StreamReader streamReader = new StreamReader(path);

            string file = streamReader.ReadToEnd();

            streamReader.Close();
            return file;
        }