using ProtoBuf; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TEAMModelGrpc.Models { [ProtoContract] public class Response { /// /// /// [ProtoMember(1)] public string message { get; set; } /// /// /// [ProtoMember(2)] public int code { get; set; } public Response Success() { this.code = 200; this.message = "Success"; return this; } } }