Exemplo n.º 1
0
        public JsonResult GetAlignmentDetails(int alignmentId)
        {
            var query = new GetAlignmentQuery
            {
                Id = alignmentId
            };

            var result = SendQuery <GetAlignmentQuery, AlignmentDTO>(query);

            return(Json(result));
        }
        public Alignment Get(int id)
        {
            var query = new GetAlignmentQuery();

            return(query.GetAlignment(id));
        }