#59 UserDAO interface
This commit is contained in:
		
							parent
							
								
									b3de23dc54
								
							
						
					
					
						commit
						927b99c32a
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -1,4 +1,14 @@ | ||||||
| package be.ugent.sel.studeez.domain | package be.ugent.sel.studeez.domain | ||||||
| 
 | 
 | ||||||
|  | import kotlinx.coroutines.flow.Flow | ||||||
|  | 
 | ||||||
| interface UserDAO { | interface UserDAO { | ||||||
|  | 
 | ||||||
|  |     suspend fun getUserName(): String? | ||||||
|  | 
 | ||||||
|  |     suspend fun save(newUsername: String) | ||||||
|  | 
 | ||||||
|  | //    suspend fun update(task: Task) | ||||||
|  | //    suspend fun delete(taskId: String) | ||||||
|  | //    suspend fun deleteAllForUser(userId: String) | ||||||
| } | } | ||||||
		Reference in a new issue
	
	 lbarraga
						lbarraga