public override string ToString() { return("\t\t" + new string('-', 84) + $"\n\t\tid:{Id}| postId:{PostId}| userId:{UserId}| likes:{Likes}|\n\t\t{Body}\n\t\t {CreatedAt.ToString()}\n" + "\t\t" + new string('-', 84)); }
public override string ToString() { string state = this.IsComplete ? "completed" : "uncompleted"; return("\t" + new string('-', 92) + $"\n\tid:{Id}| userId:{UserId}| \n\t{Name} - {state}\n\t createdAt{CreatedAt.ToString()}\n" + "\t" + new string('-', 92)); }
public override string ToString() { return(new string('-', 100) + $"\nid:{Id}| Name:{Name}| Email:{Email}| createdAt{CreatedAt.ToString()}\n" + new string('-', 100)); }
public override string ToString() { return("\t" + new string('-', 92) + $"\n\tid:{Id}| userId:{UserId}| likes:{Likes}|\n\n\t {Title}\n\t{Body}\n\t {CreatedAt.ToString()}\n" + "\t" + new string('-', 92)); }