Ejemplo n.º 1
0
        public ActionResult ChangeDone(int uId, bool activeV)
        {
            using (SubscriptionRepository secUserRepo = new SubscriptionRepository())
            {
                secUserRepo.DoneById(uId, activeV);
            }

            return(Json(new { success = reqResponse.IsDone, message = reqResponse.IsDone ? OperationLP.SuccessMsg : reqResponse.ErrorMessegesStr }));
        }