update
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
{
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
public class AccountMotionsGetModel
|
||||
public class MotionsGetModel
|
||||
{
|
||||
[Required]
|
||||
public DateTime From { get; set; }
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user