C# Class Data.Commands.Animals.SaveAnimal

Inheritance: ICommand
显示文件 Open project: upnxt/upnxt-dapper-cqrs

Public Methods

Method Description
Execute ( ISession session ) : void
SaveAnimal ( Animal animal ) : Contracts.Models

Method Details

Execute() public method

public Execute ( ISession session ) : void
session ISession
return void

SaveAnimal() public method

public SaveAnimal ( Animal animal ) : Contracts.Models
animal Contracts.Models.Animal
return Contracts.Models