public void Execute() { _chama = new Chama() { Name = _data["name"] }; _store.AddNew(_chama); }
public void Execute() { _group = new Group() { Name = _data["Name"], ChamaId = int.Parse(_data["ChamaId"]) }; _store.AddNew(_group); }
public void Execute() { _role = new Role() { Name = _data["name"] }; _store.AddNew(_role); }
public void Execute() { _notice = new Notice() { Message = _data["Message"], ReceiverId = int.Parse(_data["ReceiverId"]) }; _store.AddNew(_notice); }
public void Execute() { _location = new Location() { Name = _data["name"], Latitude = double.Parse(_data["lat"]), Longitude = double.Parse(_data["long"]) }; _store.AddNew(_location); }
public void Execute() { _member = new Person() { FirstName = _data["FirstName"], LastName = _data["FirstName"], GenderId = int.Parse(_data["GenderId"]), PhoneNumber = _data["PhoneNumber"], EmailAddress = _data["EmailAddress"], DateOfBirth = DateTime.Parse(_data["DateOfBirth"]), RoleId = int.Parse(_data["RoleId"]), GroupId = int.Parse(_data["GroupId"]), LocationId = int.Parse(_data["LocationId"]) }; _store.AddNew(_member); }