public JsonResult AddCourseTitle(CourseTitle entity) { entity.Id = Guid.NewGuid(); var data = BaseEntityManager.AddEntity(entity); return(Json(data, JsonRequestBehavior.AllowGet)); }
public JsonResult AddTypeOfProjects(TypeOfProject entity) { entity.Id = Guid.NewGuid(); var data = BaseEntityManager.AddEntity(entity); return(Json(data, JsonRequestBehavior.AllowGet)); }
public JsonResult AddAreaOfTraining(AreaOfTraining entity) { entity.Id = Guid.NewGuid(); var data = BaseEntityManager.AddEntity(entity); return(Json(data, JsonRequestBehavior.AllowGet)); }
public JsonResult AddWorkingCirriculum(WorkingCirriculum entity) { entity.Id = Guid.NewGuid(); var data = BaseEntityManager.AddEntity(entity); return(Json(data, JsonRequestBehavior.AllowGet)); }
public JsonResult AddFaculty(Department entity) { entity.Id = Guid.NewGuid(); entity.IsFaculty = true; var data = BaseEntityManager.AddEntity(entity); return(Json(data, JsonRequestBehavior.AllowGet)); }