Beispiel #1
0
 public void AddTodoList([FromBody] ModifyTodoListDTO dto)
 {
     if (String.IsNullOrEmpty(dto.Title))
     {
         throw new SX.Common.Shared.Exceptions.CustomInputException("Empty Todo-List Title!");
     }
     _todoService.CreateList(dto.Title);
 }
Beispiel #2
0
 public void ModifyTodoList(Guid listID, [FromBody] ModifyTodoListDTO dto)
 {
     _todoService.ChangeList(listID, dto.Title);
 }