using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; using ASC.Api.Collections; using ASC.CRM.Core.Enums; using Microsoft.AspNetCore.Http; namespace ASC.CRM.ApiModels { public class CreateOrUpdateContactInDto { public string About { get; set; } public ShareType ShareType { get; set; } public IEnumerable ManagerList { get; set; } public IEnumerable> CustomFieldList { get; set; } public IEnumerable Photos { get; set; } } public class CreateOrUpdateCompanyInDto : CreateOrUpdateContactInDto { public String CompanyName { get; set; } public IEnumerable PersonList { get; set; } } public class CreateOrUpdatePersonInDto : CreateOrUpdateContactInDto { public String FirstName { get; set; } public String LastName { get; set; } public String JobTitle { get; set; } public int CompanyId { get; set; } } }