Exemplo n.º 1
0
 public ActivitiesDto Update([FromBody] ActivitiesDto model)
 {
     return(_activitiesService.UpdateActivity(model));
 }
        public async Task <IActionResult> UpdateActivity([FromRoute] int scenarioId, [FromRoute] int activityId, [FromBody] LaBM model)
        {
            var result = await activitiesService.UpdateActivity(scenarioId, activityId, model);

            return(Ok(new { activityId = result }));
        }