This commit is contained in:
12
DTO/HanyadikHetVanDTO.cs
Normal file
12
DTO/HanyadikHetVanDTO.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace hanyadikhetvan.DTO
|
||||
{
|
||||
public class HanyadikHetVanDTO
|
||||
{
|
||||
public int HanyadikHet => (DateTime.Now - (DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")))).Days / 7;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user