fix
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
namespace MyOffice.Web.Models.AccountMotion;
|
||||
|
||||
using Data.Models.Accounts;
|
||||
using Services.Account.Domain;
|
||||
|
||||
public class AccountMotionViewModel
|
||||
{
|
||||
@@ -27,13 +28,16 @@ public static class AccountMotionViewModelExtension
|
||||
|
||||
public static class AccountMotionRequestExtension
|
||||
{
|
||||
public static AccountMotion FromModel(this AccountMotionRequest input)
|
||||
public static AccountMotionAdd FromModel(this AccountMotionRequest input)
|
||||
{
|
||||
/*return new AccountMotion
|
||||
return new AccountMotionAdd
|
||||
{
|
||||
CreatedOn = input.Date,
|
||||
mo
|
||||
};*/
|
||||
Date = input.Date,
|
||||
Motion = input.Motion,
|
||||
Minus = input.Minus,
|
||||
Plus = input.Plus,
|
||||
Description = input.Description,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user