public Product Validate(string email, string password) { Product objReturn = null; try { using (Product_DAL objDAL = new Product_DAL()) { objReturn = objDAL.Validate(email, password); } } catch (Exception ex) { log.Error("Validate Error: ", ex); } return(objReturn); }