public CustAuthenticationModel GetCustAuthByCustid(string custid)
{
const string sql = "select * from cust_authentication where custid=@custid;";
try
{
var custModel = Helper.Query<CustAuthenticationModel>(sql, new { custid }).FirstOrDefault();
return custModel;
}
catch (Exception ex)
{
return null;
}
}