コード例 #1
0
        public bool AdminChangePaasBL(Admin objchangepassAdmin) // Validation of Registration of Admin
        {
            bool pass = false;

            try
            {
                if (ValidateAdmin(objchangepassAdmin))
                {
                    AdminDAL adminDAL = new AdminDAL();
                    pass = adminDAL.AdminChangPassDAL(objchangepassAdmin);
                }
                else
                {
                    throw new RecipeIngredientSystemExceptions("Please check details once again");
                }
            }
            catch (RecipeIngredientSystemExceptions)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(pass);
        }