public User GetUserByEmailId(string emailId)
 {
     try
     {
         if (!string.IsNullOrWhiteSpace(emailId))
         {
             UserBC UserBC = new UserBC();
             return(UserBC.GetUserByEmailId(emailId));
         }
         else
         {
             throw new Exception("User EmailId is required and it cannot be null or empty.");
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally { }
 }