Api: added module id
This commit is contained in:
parent
a80b66612d
commit
aad452174e
@ -1,9 +1,11 @@
|
||||
using ASC.Web.Core;
|
||||
using System;
|
||||
using ASC.Web.Core;
|
||||
|
||||
namespace ASC.Api.Core
|
||||
{
|
||||
public class Module
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Link { get; set; }
|
||||
public string ImageUrl { get; set; }
|
||||
@ -12,6 +14,7 @@ namespace ASC.Api.Core
|
||||
|
||||
public Module(Product product, bool isPrimary = false)
|
||||
{
|
||||
Id = product.ProductID;
|
||||
Title = product.Name;
|
||||
Description = product.Description;
|
||||
ImageUrl = product.Context.LargeIconFileName;
|
||||
|
Loading…
Reference in New Issue
Block a user