Exemple #1
0
        public JsonResult Approve(string[] values)
        {
            List <Income> incomes = new List <Income>();

            foreach (var id in values)
            {
                Income income = new Income();
                income.Id = Convert.ToInt32(id);
                incomes.Add(income);
            }
            string message = incomeManager.UpdateApproveStatus(incomes);

            return(Json(message));
        }