string strMailTemplatePath = HttpContext.Current.Server.MapPath("~/EmailTemplate/HODEmailTemplate.html");
This is the code I have written for reading file path. But I'm getting the below mentioned error.
System.NullReferenceException: 'Object reference not set to an instance of an object.'
Please help me to read the file path.