Пример #1
0
        public SubjectModel Add([FromBody] SubjectModel subjectModel)
        {
            var subject = SubjectManager.Add(Mapper.AutoMap <SubjectModel, Subject>(subjectModel), CurrentUser.Id);

            return(Mapper.Map(subject));
        }