Remove two or more itens form a list with predicate

I have a list that returns all status values except the exported one, however, I would like a list that returns all values except the exported and the authorized one (2 Status) // Getting all status except the exported one // GetStarusApontamento is a IEnumerable var listStatus = this._apontamentoAppService.GetStatusApontamento().Where(x=>x != StatusApontamento.Exported).ToList(); How would I do … Read more

Post action not working in controller but working in another controller

I have a project that allows users to create a new project. The UI has some textboxes and a submit button. It sends data through a POST request to an api call, which then creates a new project entity in the database. I deleted my migrations and then added a new migration since I wanted to fix some code, but now the post action no longer works. I see the following error message in the console –

How can I insert the current logged in user in a database using ASP.NET Core

I am trying to insert the current logged in user in a database. I had an idea of making a hidden input text field in the view, taking its value, and inputting it in the database using the asp-for. But it doesn’t seem to work. Can you please tell me what am I doing wrong and if you have any other suggestion on how to fix this in any other way, feel free to tell me.
Thank you in advance <3
This is the view code (P.S I took out some code of the view, I feel as though it is unnecessary for the questions purpose):

CKEditor – Error Decoding Failed – Not loading editor

I have been using CKEditor for a bit on an older project. I just loaded it up in Visual Studio and noticed there is an issue loading the scripts. It appears when it loads, I get a DECODED_FAILED error in the console. Screenshots below… any thoughts as to why this would be different? VS has the latest updates and this is an ASP.Net MVC project.