GetStandardResponse(Domain.Standard standard) { Id = standard.ExternalId; Description = standard.Description; Status = standard.Status; Url = standard.Url; CreatedAt = standard.CreatedAt; UpdatedAt = standard.UpdatedAt; Type = standard.Type; Owner = standard.Owner; Code = standard.Code; }
public Task DeleteAsync(Domain.Standard standard) { _context.Remove(standard); return(Task.CompletedTask); }
public async Task AddAsync(Domain.Standard standard) { await _context.Standards.AddAsync(standard); }
public static GetStandardResponse Create(Domain.Standard standard) { return(new GetStandardResponse(standard)); }