public bool ValidateUser(String email, String password)
 {
     using (var dbContext = new DatabaseModel())
     {
         var userDetails = dbContext.Userscredentials.Where(user => user.Email.Equals(email)).FirstOrDefault();
         if (userDetails != null)
         {
             if (userDetails.Password.Equals(password))
             {
                 commonUtil.AddUserDetailsToLocalApp(userDetails);
                 return(true);
             }
             return(false);
         }
     }
     return(false);
 }