Example #1
0
        public ActionResult Create(TutorModel model)
        {
            if (CurrentUser.UserRole == UserRole.Rackaz)
            {
                model.User.Area = CurrentUser.Area;
            }
            var result = _tutorService.Add(model);

            return(Json(result));
        }