public JalonEntity Add([FromBody] JalonDto jalonDto, int idProject)
        {
            JalonEntity jalon = new JalonEntity()
            {
                AssigneeId = jalonDto.AssigneeId,
                Label      = jalonDto.Label,
                ProjectId  = idProject
            };
            UrlConfig config = new UrlConfig()
            {
                IdProject = idProject
            };

            return(_jalonService.Add(jalon, config));
        }
Exemple #2
0
 public void Add(JalonItem item)
 {
     _JalonService.Add(item);
 }