This commit is contained in:
2023-06-23 09:03:00 +03:00
parent d549877567
commit 4bac59f322
27 changed files with 376 additions and 126 deletions
@@ -2,7 +2,7 @@
{
using System.ComponentModel.DataAnnotations;
public class AccountMotionsGetModel
public class MotionsGetModel
{
[Required]
public DateTime From { get; set; }
+2 -2
View File
@@ -13,9 +13,9 @@ public class MotionRequest
public static class MotionRequestExtension
{
public static MotionAdd FromModel(this MotionRequest input)
public static MotionAddUpdate FromModel(this MotionRequest input)
{
return new MotionAdd
return new MotionAddUpdate
{
Date = input.Date,
Motion = input.Motion,
@@ -1,4 +1,4 @@
namespace MyOffice.Web.Models.AccountMotion
namespace MyOffice.Web.Models.Motion
{
using Core.Extensions;
using Data.Models.Accounts;