search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

MVC with Foreign Key

Related article: HTML5 Monthly Calendar and ASP.NET Core
Asked by Anonymous
2 months ago.

I'm using daypilot on a ASP.NET Core but my model has a foreign key and I can't add a date for that reason, what can I do? or why I can't add a date, this is my code
public class Reservacion
public int ReservacionId { get; set; }
public int UsuarioId { get; set; }
public DateTime Fecha_Start { get; set; }
public DateTime Fecha_End { get; set; }
public string Text { get; set; }
public string Color { get; set; }
public Usuario UsuarioIdNavigation { get; set; }

No reply yet.
New Reply
This reply is
Your name (optional):