Posts by Renan Carlos • 1,594 points
55 posts
-
5
votes1
answer1657
viewsQ: What does code 201 of a Request mean?
In research I saw that the code 201 of a Request means : The request was fulfilled and resulted in a new resource being created. But I didn’t really understand the meaning of it. What would be an…
-
8
votes1
answer377
viewsQ: To automatically fill fields when saving object in database
I have a system, in ASP.NET MVC which implements a form of audit, that when a user enters or updates an object into the database, some information is saved to an audit table automatically. The…
-
1
votes1
answer50
viewsQ: Error loading CREATE page
I have two related methods. Patrimonio and Categoria: [Table("Patrimonios")] public class Patrimonio { [Key] public Guid PatrimonioId { get; set; } public Guid CategoriaId { get; set; } [Required]…
-
4
votes2
answers210
viewsA: Entity Framework 6: Provider Error
This is due to the fact that although you are using a reference in the project, the reference is never used, and the Linker removes all references you think are not used at the time of execution of…
-
2
votes1
answer52
viewsQ: What am I doing with this method?
I have the following method: [HttpPost] [ValidateAntiForgeryToken] public async Task<ActionResult> Criar([Bind(Include = "CategoriaId,Nome")] Categoria categoria) { if (ModelState.IsValid) {…