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
5 years 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; }

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.