project structure and namespaces

This commit is contained in:
Stoyan Zlatev
2023-06-19 15:43:55 +02:00
parent 2624dd7c87
commit 5446342fbd
198 changed files with 310 additions and 528 deletions
@@ -0,0 +1,16 @@
namespace LaaProduction.Web.Models
{
public class ModelResult
{
private bool state;
private ModelResult(bool state)
=> this.state = state;
public static implicit operator ModelResult(bool state)
=> new ModelResult(state);
public static implicit operator bool(ModelResult modelResult)
=> modelResult?.state ?? false;
}
}