Skip to content

Commit

Permalink
AB#12004 AB#12007 TagVorlageDTO erstellt, WebRoutinen erstellt
Browse files Browse the repository at this point in the history
  • Loading branch information
gdl-gruendig committed Oct 25, 2024
1 parent a9a9d48 commit 9edfd80
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ public async Task AddOrUpdateTagInfoAsync(TagInfoDTO dto)
public async Task DeleteTagInfoAsync(TagInfoDTO dto)
=> await DeleteAsync("TagInfo", dto);

public async Task<IList<TagVorlageDTO>> GetTagVorlagenAsync()
=> await GetAsync<List<TagVorlageDTO>>($"TagVorlagen/GetTagVorlagen");

public async Task AddOrUpdateTagVorlageAsync(TagVorlageDTO dto)
=> await PostAsync("TagVorlagen/AddOrUpdateTagVorlagen", dto);

public async Task DeleteTagVorlageAsync(Guid tagVorlageGuid)
=> await DeleteAsync("TagVorlagen/DeleteTagVorlage", tagVorlageGuid);

public async Task<IList<TagInfoDTO>> GetTagInfoForFunctionAsync(Guid objectGuid, long mandantID)
=> await GetAsync<List<TagInfoDTO>>($"GetTagInfoForFunction?objectGuid={objectGuid}&mandantID={mandantID}");

Expand Down
16 changes: 16 additions & 0 deletions Gandalan.IDAS.WebApi.Client/DTOs/UI/TagVorlageDTO.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;

namespace Gandalan.IDAS.WebApi.Client.DTOs.UI;

public class TagVorlageDTO
{
public Guid TagVorlageGuid { get; set; }

public string Text { get; set; }
public string ToolTip { get; set; }
public string BackgroundColorCode { get; set; }
public string TextColorCode { get; set; }

public long Version { get; set; }
public DateTime ChangedDate { get; set; }
}

0 comments on commit 9edfd80

Please sign in to comment.