public class DeleteRelatedModel
{
public int ID { get; set; }
public string Code { get; set; }
public bool IsDeleted { get; set; }
public List
public LoginUserDetail LogInUser { get; set; }
}
public class LoginUserDetail
{
public string UserName { get; set; }
public string UserEmail { get; set; }
}
public class ArtifactModel
{
public int ID { get; set; }
public string OriginalFileName { get; set; }
public DateTime? CreatedAt { get; set; }
}
//In contoller action method
DeleteRelatedModel deleteRelated = GetDeleteDetails(id);
How i can read the values from deleteRelated and bind it to separate variables. like
List
LoginUserDetail loginUserDetail = new LoginUserDetail;
Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2022, 3:34 AM EST
kaushik debnath147 reputationPosted Feb 4, 2022, 1:15 PM EST
public class ArtifactModel
{
public int ID { get; set; }
public string OriginalFileName { get; set; }
public DateTime? CreatedAt { get; set; }
}
kaushik debnath147 reputationPosted Feb 7, 2022, 10:43 PM EST
Amit MohantyRank #112 · 20K reputationPosted Feb 2, 2022, 11:40 PM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2022, 2:06 PM EST
Login User Details
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts