DocSpace-client/common/ASC.Api.Core/Model/Contact.cs

21 lines
400 B
C#
Raw Normal View History

namespace ASC.Web.Api.Models;
2019-06-11 15:20:04 +00:00
public class Contact
{
public string Type { get; set; }
public string Value { get; set; }
2019-06-11 15:20:04 +00:00
//For binder
public Contact() { }
2019-06-11 15:20:04 +00:00
public Contact(string type, string value)
{
Type = type;
Value = value;
2019-06-11 15:20:04 +00:00
}
public static Contact GetSample()
{
return new Contact("GTalk", "my@gmail.com");
}
2019-06-11 15:20:04 +00:00
}