[InvalidOperationException: Sequence contains no elements]
System.Linq.Enumerable.Single(IEnumerable`1 source) +449
Dapper.SqlMapper.QueryRowImpl(IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:1207
Dapper.SqlMapper.QuerySingle(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:794
DAL.News.GetBySlug(String NewsSlug) in D:\sites\SchoolRajkot\DAL\News.cs:144
ChristSchoolRajkot.NewsDesc.Page_Load(Object sender, EventArgs e) in D:\sites\SchoolRajkot\ChristSchoolRajkot\NewsDesc.aspx.cs:15
System.Web.UI.Control.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +90
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533
|