added Microser
This commit is contained in:
9
src/Microser/Microser.Core/Microser.Core.csproj
Normal file
9
src/Microser/Microser.Core/Microser.Core.csproj
Normal file
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
14
src/Microser/Microser.Core/Models/WeatherForecast.cs
Normal file
14
src/Microser/Microser.Core/Models/WeatherForecast.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Microser.Core.Models;
|
||||
|
||||
public class WeatherForecast
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public DateOnly Date { get; set; }
|
||||
|
||||
public int TemperatureC { get; set; }
|
||||
|
||||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||
|
||||
public string? Summary { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user