Esempio n. 1
0
 public PropertyController(IAddProperty addProperty, IGetUserProperty getUserProperty
                           , IGetPropertyDetailsWithUser getPropertyDetailsWithUser
                           , IGetPropertyImageDetails getPropertyImageDetails
                           , IDeleteProperty deleteProperty
                           , IUpdateProperty updateProperty)
 {
     _addProperty                = addProperty;
     _getUserProperty            = getUserProperty;
     _getPropertyDetailsWithUser = getPropertyDetailsWithUser;
     _getPropertyImageDetails    = getPropertyImageDetails;
     _deleteProperty             = deleteProperty;
     _updateProperty             = updateProperty;
 }
 public AdminController(IGetUser getUser, IDeleteUser deleteUser, IGetPropertyDetailsWithUser getPropertyDetailsWithUser)
 {
     _getUser    = getUser;
     _deleteUser = deleteUser;
     _getPropertyDetailsWithUser = getPropertyDetailsWithUser;
 }