public void SaveNewAction(int userID, int loggingType, DateTime loggingDate, int deviceID ) { List<Shift> userShift = new List<Shift>(); ShiftRepository shiftRepository = new ShiftRepository(); ActionState actionState= new ActionState(); userShift = shiftRepository.FindByUserIDAndDate(userID, loggingDate, actionState); }
public NoneDBDomainBase(int userID, LanguagesEnum language) { actionState = new ActionState(); actionState.OwnerID = userID; this.language = language; }